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