subprojects { repositories { mavenCentral() } } allprojects { repositories { mavenCentral() jcenter() maven { url "https://maven.google.com" } } } buildscript { repositories { mavenCentral() maven { url 'https://maven.google.com/' name 'Google' } } dependencies { classpath 'com.android.tools.build:gradle:2.3.0' } }