1buildscript { 2 ext { 3 compileSdkVersion = 27 4 minSdkVersion = 21 5 targetSdkVersion = 27 6 7 espressoVersion = '3.0.1' 8 junitVersion = '4.12' 9 kotlinVersion = '1.3.11' 10 supportLibVersion = '27.0.2' 11 supportTestVersion = '1.0.1' 12 } 13 repositories { 14 google() 15 jcenter() 16 } 17 dependencies { 18 classpath 'com.android.tools.build:gradle:3.3.0' 19 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" 20 } 21} 22 23allprojects { 24 repositories { 25 google() 26 jcenter() 27 } 28} 29 30task clean(type: Delete) { 31 delete rootProject.buildDir 32} 33