2018-11-08 04:04:37 +01:00
|
|
|
buildscript {
|
2019-07-03 19:44:37 +02:00
|
|
|
|
2020-08-06 17:33:36 +02:00
|
|
|
// 1.3.21 Android 10
|
2020-09-09 21:46:30 +02:00
|
|
|
// 1.3.61 Android 11
|
|
|
|
// Check:
|
|
|
|
// https://android.googlesource.com/platform/external/kotlinc/+/refs/tags/android-11.0.0_r3/build.txt
|
2019-12-06 13:38:07 +01:00
|
|
|
ext.kotlin_version = '1.3.61'
|
2019-07-03 19:44:37 +02:00
|
|
|
|
2018-11-08 04:04:37 +01:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
google()
|
|
|
|
}
|
|
|
|
dependencies {
|
2020-09-15 22:16:22 +02:00
|
|
|
//noinspection DifferentKotlinGradleVersion
|
2019-07-03 19:44:37 +02:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2020-09-15 22:16:22 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:4.0.1'
|
2018-11-08 04:04:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2019-07-03 19:44:37 +02:00
|
|
|
mavenCentral()
|
2018-11-08 04:04:37 +01:00
|
|
|
jcenter()
|
|
|
|
google()
|
2019-07-09 19:22:24 +02:00
|
|
|
maven { url 'https://jitpack.io' }
|
2018-11-08 04:04:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|