Erin Yan | cab226f | 2020-11-10 13:45:20 -0800 | [diff] [blame] | 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. |
| 2 | buildscript { |
Android Auto Companion | ddfbeb6 | 2021-03-17 16:54:14 -0700 | [diff] [blame] | 3 | ext.kotlin_version = '1.4.31' |
Erin Yan | cab226f | 2020-11-10 13:45:20 -0800 | [diff] [blame] | 4 | repositories { |
| 5 | google() |
| 6 | jcenter() |
| 7 | } |
| 8 | dependencies { |
| 9 | classpath "com.android.tools.build:gradle:4.0.2" |
Android Auto Companion | ddfbeb6 | 2021-03-17 16:54:14 -0700 | [diff] [blame] | 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
Erin Yan | cab226f | 2020-11-10 13:45:20 -0800 | [diff] [blame] | 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() |
| 20 | jcenter() |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | task clean(type: Delete) { |
| 25 | delete rootProject.buildDir |
Erin Yan | eed84c8 | 2020-12-04 18:18:08 +0000 | [diff] [blame] | 26 | } |