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