2018-11-08 04:04:37 +01:00
|
|
|
buildscript {
|
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
|
2022-08-19 07:40:30 +02:00
|
|
|
// 1.6.10 Android 13
|
2023-03-27 09:42:56 +02:00
|
|
|
// 1.7.20 Android 13 (QPR2)
|
2023-10-07 21:12:34 +02:00
|
|
|
// 1.8.10 Android 14
|
2020-09-09 21:46:30 +02:00
|
|
|
// Check:
|
2023-10-07 21:12:34 +02:00
|
|
|
// https://android.googlesource.com/platform/external/kotlinc/+/refs/tags/android-14.0.0_r1/build.txt
|
|
|
|
ext.aosp_kotlin_version = '1.8.10' // 1.8.10-release-430 in AOSP
|
|
|
|
ext.kotlin_version = '1.8.10'
|
2023-03-27 10:15:48 +02:00
|
|
|
}
|
2019-07-03 19:44:37 +02:00
|
|
|
|
2023-03-27 10:15:48 +02:00
|
|
|
plugins {
|
2023-10-07 21:12:34 +02:00
|
|
|
id 'com.android.application' version '8.1.2' apply false
|
|
|
|
id 'com.android.library' version '8.1.2' apply false
|
2023-08-02 18:41:27 +02:00
|
|
|
id 'com.google.protobuf' version '0.9.4' apply false
|
2023-03-27 10:15:48 +02:00
|
|
|
id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false
|
|
|
|
id 'org.jetbrains.kotlin.kapt' version "$kotlin_version" apply false
|
|
|
|
id 'org.jetbrains.dokka' version "$kotlin_version" apply false
|
2023-03-27 15:09:21 +02:00
|
|
|
id 'org.jlleitschuh.gradle.ktlint' version '11.5.0' apply false
|
2018-11-08 04:04:37 +01:00
|
|
|
}
|
|
|
|
|
2021-01-19 13:14:52 +01:00
|
|
|
ext {
|
2023-10-07 21:01:22 +02:00
|
|
|
compileSdk = 34
|
2023-10-09 15:57:26 +02:00
|
|
|
minSdk = 33
|
2023-10-07 21:01:22 +02:00
|
|
|
targetSdk = 34
|
2021-01-19 13:14:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
apply from: 'gradle/dependencies.gradle'
|
|
|
|
|
2018-11-08 04:04:37 +01:00
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|