2022-01-03 23:59:44 +08:00
|
|
|
plugins {
|
2024-03-11 14:09:30 +08:00
|
|
|
alias libs.plugins.android.library
|
|
|
|
alias libs.plugins.kotlin.android
|
2022-01-03 23:59:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2022-12-19 12:49:59 +08:00
|
|
|
compileSdk = compile_sdk_version
|
2023-03-12 10:21:05 +08:00
|
|
|
namespace 'me.ag2s'
|
2023-04-15 23:36:24 +08:00
|
|
|
kotlin {
|
|
|
|
jvmToolchain {
|
|
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
|
|
}
|
|
|
|
}
|
2022-01-03 23:59:44 +08:00
|
|
|
defaultConfig {
|
2022-09-29 13:57:59 +08:00
|
|
|
minSdk 21
|
2024-03-11 14:09:30 +08:00
|
|
|
targetSdk 34
|
2022-01-03 23:59:44 +08:00
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
2023-04-15 23:36:24 +08:00
|
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
|
|
targetCompatibility JavaVersion.VERSION_17
|
2022-01-03 23:59:44 +08:00
|
|
|
}
|
2022-05-24 00:40:48 +08:00
|
|
|
lint {
|
|
|
|
checkDependencies true
|
|
|
|
}
|
2022-01-03 23:59:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-03-11 14:09:30 +08:00
|
|
|
implementation(libs.androidx.annotation)
|
|
|
|
//implementation 'androidx.annotation:annotation:1.7.1'
|
2022-01-03 23:59:44 +08:00
|
|
|
}
|