1 buildscript { 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.1' 9 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 10 } 11 } 12 13 allprojects { 14 repositories { 15 google() 16 jcenter() 17 } 18 } 19 20 task clean(type: Delete) { 21 delete rootProject.buildDir 22 } 23