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)
|
2020-09-09 21:46:30 +02:00
|
|
|
// Check:
|
2023-03-27 09:42:56 +02:00
|
|
|
// https://android.googlesource.com/platform/external/kotlinc/+/refs/tags/android-13.0.0_r32/build.txt
|
|
|
|
ext.aosp_kotlin_version = '1.7.20' // 1.7.20-release-201 in AOSP
|
|
|
|
ext.kotlin_version = '1.7.20'
|
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 {
|
|
|
|
id 'com.android.application' version '7.4.2' apply false
|
|
|
|
id 'com.android.library' version '7.4.2' apply false
|
|
|
|
id 'com.google.protobuf' version '0.8.17' apply false
|
|
|
|
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 {
|
2022-08-19 18:06:21 +02:00
|
|
|
buildToolsVersion = '33.0.0'
|
|
|
|
compileSdkVersion = 33
|
2022-08-23 14:50:55 +02:00
|
|
|
minSdkVersion = 32
|
2022-08-19 18:06:21 +02:00
|
|
|
targetSdkVersion = 33
|
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
|
|
|
|
}
|