mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
07e18914e8
使用version catalog 更新kotlin 1.9.23 ksp 1.0.19
34 lines
768 B
Groovy
34 lines
768 B
Groovy
plugins {
|
|
alias libs.plugins.android.library
|
|
alias libs.plugins.kotlin.android
|
|
}
|
|
|
|
android {
|
|
compileSdk = compile_sdk_version
|
|
namespace 'me.ag2s'
|
|
kotlin {
|
|
jvmToolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
}
|
|
defaultConfig {
|
|
minSdk 21
|
|
targetSdk 34
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
lint {
|
|
checkDependencies true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.annotation)
|
|
//implementation 'androidx.annotation:annotation:1.7.1'
|
|
} |