zongqiang.zhang | 6d65ed0 | 2019-07-23 16:52:00 +0800 | [diff] [blame] | 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.3.31' |
| 5 | repositories { |
| 6 | google() |
| 7 | jcenter() |
| 8 | |
| 9 | } |
| 10 | dependencies { |
| 11 | classpath 'com.android.tools.build:gradle:3.4.0' |
| 12 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
| 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 | |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | task clean(type: Delete) { |
| 27 | delete rootProject.buildDir |
| 28 | } |