1 // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 3 buildscript { 4 ext.kotlin_version = '1.1.2-4' 5 repositories { 6 google() 7 jcenter() 8 } 9 dependencies { 10 classpath 'com.android.tools.build:gradle:3.0.0-alpha4' 11 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 12 13 // NOTE: Do not place your application dependencies here; they belong 14 // in the individual module build.gradle files 15 } 16 } 17 18 allprojects { 19 repositories { 20 google() 21 jcenter() 22 mavenCentral() 23 } 24 } 25 26 task clean(type: Delete) { 27 delete rootProject.buildDir 28 } 29