blob: 3d1aca989d488e0488b3c1809eed15dc6ad79d06 [file] [log] [blame]
Steve Soltyse8720182018-11-07 22:04:37 -05001// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
3buildscript {
Torsten Grote3d5911d2019-07-03 19:44:37 +02004
Torsten Grotef68095a2020-08-06 12:33:36 -03005 // 1.3.21 Android 10
Torsten Grote415b5722020-09-09 16:46:30 -03006 // 1.3.61 Android 11
7 // Check:
8 // https://android.googlesource.com/platform/external/kotlinc/+/refs/tags/android-11.0.0_r3/build.txt
Torsten Grotef246d162019-12-06 09:38:07 -03009 ext.kotlin_version = '1.3.61'
Torsten Grote3d5911d2019-07-03 19:44:37 +020010
Steve Soltyse8720182018-11-07 22:04:37 -050011 repositories {
12 jcenter()
13 google()
14 }
15 dependencies {
Torsten Grote415b5722020-09-09 16:46:30 -030016 classpath 'com.android.tools.build:gradle:4.0.1'
Torsten Grote3d5911d2019-07-03 19:44:37 +020017 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Steve Soltyse8720182018-11-07 22:04:37 -050018
19 // NOTE: Do not place your application dependencies here; they belong
20 // in the individual module build.gradle files
21 }
22}
23
24allprojects {
25 repositories {
Torsten Grote3d5911d2019-07-03 19:44:37 +020026 mavenCentral()
Steve Soltyse8720182018-11-07 22:04:37 -050027 jcenter()
28 google()
Torsten Grote2ce625a2019-07-09 19:22:24 +020029 maven { url 'https://jitpack.io' }
Steve Soltyse8720182018-11-07 22:04:37 -050030 }
31}
32
33task clean(type: Delete) {
34 delete rootProject.buildDir
35}