2018-11-08 04:04:37 +01:00
|
|
|
buildscript {
|
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
|
2021-10-07 18:44:55 +02:00
|
|
|
// 1.4.30 Android 12
|
2020-09-09 21:46:30 +02:00
|
|
|
// Check:
|
2021-10-07 18:44:55 +02:00
|
|
|
// https://android.googlesource.com/platform/external/kotlinc/+/refs/tags/android-12.0.0_r2/build.txt
|
|
|
|
ext.aosp_kotlin_version = '1.4.31' // 1.4.30 breaks Kotlin plugin in Android Studio
|
2021-01-19 13:14:52 +01:00
|
|
|
ext.kotlin_version = '1.4.31'
|
2019-07-03 19:44:37 +02:00
|
|
|
|
2018-11-08 04:04:37 +01:00
|
|
|
repositories {
|
2021-06-18 22:30:07 +02:00
|
|
|
mavenCentral()
|
2018-11-08 04:04:37 +01:00
|
|
|
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"
|
2021-10-07 18:44:55 +02:00
|
|
|
classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.17"
|
2022-08-19 07:28:53 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:7.2.2'
|
2018-11-08 04:04:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-19 13:14:52 +01:00
|
|
|
ext {
|
2021-10-07 18:44:55 +02:00
|
|
|
buildToolsVersion = '31.0.0'
|
|
|
|
compileSdkVersion = 31
|
2021-01-19 13:14:52 +01:00
|
|
|
minSdkVersion = 29
|
2021-10-07 18:44:55 +02:00
|
|
|
targetSdkVersion = 31
|
2021-01-19 13:14:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
apply from: 'gradle/dependencies.gradle'
|
|
|
|
|
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
|
|
|
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
|
|
|
|
}
|