add file to repository gradle android studio code example Example: android maven dependency maven { url 'repo1.maven.org/maven2'; }