// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { mavenCentral() jcenter() maven { url 'https://maven.google.com/' name 'Google' } } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' } } allprojects { repositories { mavenCentral() maven { url 'https://maven.google.com/' name 'Google' } jcenter() } }