2018-11-07 22:04:37 -05:00
|
|
|
buildscript {
|
2020-09-09 16:46:30 -03:00
|
|
|
// 1.3.61 Android 11
|
2021-10-07 13:44:55 -03:00
|
|
|
// 1.4.30 Android 12
|
2022-08-19 11:10:30 +05:30
|
|
|
// 1.6.10 Android 13
|
2023-03-27 13:12:56 +05:30
|
|
|
// 1.7.20 Android 13 (QPR2)
|
2023-10-08 00:42:34 +05:30
|
|
|
// 1.8.10 Android 14
|
2020-09-09 16:46:30 -03:00
|
|
|
// Check:
|
2023-10-08 00:42:34 +05:30
|
|
|
// 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 13:45:48 +05:30
|
|
|
}
|
2019-07-03 19:44:37 +02:00
|
|
|
|
2023-03-27 13:45:48 +05:30
|
|
|
plugins {
|
2023-10-08 00:42:34 +05:30
|
|
|
id 'com.android.application' version '8.1.2' apply false
|
|
|
|
id 'com.android.library' version '8.1.2' apply false
|
2023-08-03 00:41:27 +08:00
|
|
|
id 'com.google.protobuf' version '0.9.4' apply false
|
2023-03-27 13:45:48 +05:30
|
|
|
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 18:39:21 +05:30
|
|
|
id 'org.jlleitschuh.gradle.ktlint' version '11.5.0' apply false
|
2018-11-07 22:04:37 -05:00
|
|
|
}
|
|
|
|
|
2021-01-19 09:14:52 -03:00
|
|
|
ext {
|
2023-10-08 00:31:22 +05:30
|
|
|
compileSdk = 34
|
2023-08-02 23:49:20 +08:00
|
|
|
minSdk = 32
|
2023-10-08 00:31:22 +05:30
|
|
|
targetSdk = 34
|
2021-01-19 09:14:52 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
apply from: 'gradle/dependencies.gradle'
|
|
|
|
|
2018-11-07 22:04:37 -05:00
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|