build.gradle
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.20' |
5 | repositories { |
6 | google() |
7 | jcenter() |
8 | |
9 | } |
10 | dependencies { |
11 | classpath 'com.android.tools.build:gradle:3.3.2' |
12 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
13 | |
14 | // NOTE: Do not place your application dependencies here; they belong |
15 | // in the individual module build.gradle files |
16 | } |
17 | } |
18 | |
19 | allprojects { |
20 | repositories { |
21 | google() |
22 | jcenter() |
23 | |
24 | } |
25 | } |
26 | |
27 | task clean(type: Delete) { |
28 | delete rootProject.buildDir |
29 | } |
30 |