Jean-Luc Brouillet | b636349 | 2021-04-19 01:11:17 -0700 | [diff] [blame] | 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. |
| 2 | buildscript { |
Xusong Wang | 9a70eae | 2021-10-12 17:49:56 -0700 | [diff] [blame] | 3 | ext.kotlin_version = "1.5.31" |
Jean-Luc Brouillet | b636349 | 2021-04-19 01:11:17 -0700 | [diff] [blame] | 4 | repositories { |
| 5 | google() |
| 6 | mavenCentral() |
| 7 | } |
| 8 | dependencies { |
Xusong Wang | 9a70eae | 2021-10-12 17:49:56 -0700 | [diff] [blame] | 9 | classpath 'com.android.tools.build:gradle:7.0.3' |
Jean-Luc Brouillet | b636349 | 2021-04-19 01:11:17 -0700 | [diff] [blame] | 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
| 11 | |
| 12 | // NOTE: Do not place your application dependencies here; they belong |
| 13 | // in the individual module build.gradle files |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | allprojects { |
| 18 | repositories { |
| 19 | google() |
Xusong Wang | 9a70eae | 2021-10-12 17:49:56 -0700 | [diff] [blame] | 20 | mavenCentral() |
Jean-Luc Brouillet | b636349 | 2021-04-19 01:11:17 -0700 | [diff] [blame] | 21 | } |
| 22 | } |
| 23 | |
| 24 | task clean(type: Delete) { |
| 25 | delete rootProject.buildDir |
| 26 | } |