Steve Soltys | e872018 | 2018-11-07 22:04:37 -0500 | [diff] [blame] | 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. |
| 2 | |
| 3 | buildscript { |
Torsten Grote | 3d5911d | 2019-07-03 19:44:37 +0200 | [diff] [blame] | 4 | |
Torsten Grote | f68095a | 2020-08-06 12:33:36 -0300 | [diff] [blame] | 5 | // 1.3.21 Android 10 |
Torsten Grote | 415b572 | 2020-09-09 16:46:30 -0300 | [diff] [blame^] | 6 | // 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 Grote | f246d16 | 2019-12-06 09:38:07 -0300 | [diff] [blame] | 9 | ext.kotlin_version = '1.3.61' |
Torsten Grote | 3d5911d | 2019-07-03 19:44:37 +0200 | [diff] [blame] | 10 | |
Steve Soltys | e872018 | 2018-11-07 22:04:37 -0500 | [diff] [blame] | 11 | repositories { |
| 12 | jcenter() |
| 13 | google() |
| 14 | } |
| 15 | dependencies { |
Torsten Grote | 415b572 | 2020-09-09 16:46:30 -0300 | [diff] [blame^] | 16 | classpath 'com.android.tools.build:gradle:4.0.1' |
Torsten Grote | 3d5911d | 2019-07-03 19:44:37 +0200 | [diff] [blame] | 17 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
Steve Soltys | e872018 | 2018-11-07 22:04:37 -0500 | [diff] [blame] | 18 | |
| 19 | // NOTE: Do not place your application dependencies here; they belong |
| 20 | // in the individual module build.gradle files |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | allprojects { |
| 25 | repositories { |
Torsten Grote | 3d5911d | 2019-07-03 19:44:37 +0200 | [diff] [blame] | 26 | mavenCentral() |
Steve Soltys | e872018 | 2018-11-07 22:04:37 -0500 | [diff] [blame] | 27 | jcenter() |
| 28 | google() |
Torsten Grote | 2ce625a | 2019-07-09 19:22:24 +0200 | [diff] [blame] | 29 | maven { url 'https://jitpack.io' } |
Steve Soltys | e872018 | 2018-11-07 22:04:37 -0500 | [diff] [blame] | 30 | } |
| 31 | } |
| 32 | |
| 33 | task clean(type: Delete) { |
| 34 | delete rootProject.buildDir |
| 35 | } |