1buildscript { 2 ext.kotlin_version = '1.2.0' 3 repositories { 4 google() 5 jcenter() 6 } 7 dependencies { 8 classpath 'com.android.tools.build:gradle:3.0.0' 9 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 10 } 11} 12 13allprojects { 14 repositories { 15 google() 16 jcenter() 17 } 18} 19 20task clean(type: Delete) { 21 delete rootProject.buildDir 22}