1943595f11
* Ensure every plugin is present in project's plugin block with version * Switch to full plugin id for jetbrains plugins * Move plugin and dependency repos to settings Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
33 lines
1 KiB
Groovy
33 lines
1 KiB
Groovy
buildscript {
|
|
// 1.3.61 Android 11
|
|
// 1.4.30 Android 12
|
|
// 1.6.10 Android 13
|
|
// 1.7.20 Android 13 (QPR2)
|
|
// Check:
|
|
// 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'
|
|
}
|
|
|
|
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
|
|
id 'org.jlleitschuh.gradle.ktlint' version '10.2.0' apply false
|
|
}
|
|
|
|
ext {
|
|
buildToolsVersion = '33.0.0'
|
|
compileSdkVersion = 33
|
|
minSdkVersion = 32
|
|
targetSdkVersion = 33
|
|
}
|
|
|
|
apply from: 'gradle/dependencies.gradle'
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|