1// Top-level build file where you can add configuration options common to all sub-projects/modules. 2 3buildscript { 4 repositories { 5 google() 6 mavenCentral() 7 } 8 dependencies { 9 classpath 'com.android.tools.build:gradle:3.1.4' 10 11 // NOTE: Do not place your application dependencies here; they belong 12 // in the individual module build.gradle files 13 } 14} 15 16allprojects { 17 repositories { 18 google() 19 mavenCentral() 20 maven { // Only for snapshot artifacts 21 name 'ossrh-snapshot' 22 url 'https://oss.sonatype.org/content/repositories/snapshots' 23 } 24 } 25} 26 27task clean(type: Delete) { 28 delete rootProject.buildDir 29} 30