2022-01-03 23:59:44 +08:00
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
2023-03-20 16:50:58 +08:00
|
|
|
id 'org.jetbrains.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
|
|
|
|
targetSdk 33
|
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 {
|
2022-09-29 13:57:59 +08:00
|
|
|
compileOnly "com.android.tools.build:gradle:$agp_version"
|
2023-10-07 10:38:59 +08:00
|
|
|
implementation 'androidx.annotation:annotation:1.7.0'
|
2022-01-03 23:59:44 +08:00
|
|
|
}
|