buildscript { repositories { maven { url 'file:///usr/share/maven-repo' } maven { url 'https://maven.google.com' } jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.2' } } allprojects { repositories { maven { url 'file:///usr/share/maven-repo' } maven { url 'https://maven.google.com' } jcenter() } }