2023-07-10 11:25:17 +08:00
|
|
|
plugins {
|
2023-08-31 22:22:03 +08:00
|
|
|
alias(libs.plugins.android.library)
|
2023-07-10 11:25:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "li.songe.gkd"
|
|
|
|
compileSdk = libs.versions.android.compileSdk.get().toInt()
|
|
|
|
buildToolsVersion = libs.versions.android.buildToolsVersion.get()
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
isMinifyEnabled = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
|
|
}
|
|
|
|
buildFeatures {
|
|
|
|
aidl = true
|
|
|
|
buildConfig = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
annotationProcessor(libs.rikka.processor)
|
|
|
|
compileOnly(libs.rikka.annotation)
|
|
|
|
}
|