mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
34 lines
773 B
Groovy
34 lines
773 B
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
compileSdk = compile_sdk_version
|
|
namespace 'me.ag2s'
|
|
kotlin {
|
|
jvmToolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
}
|
|
defaultConfig {
|
|
minSdk 21
|
|
targetSdk 33
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
lint {
|
|
checkDependencies true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly "com.android.tools.build:gradle:$agp_version"
|
|
implementation "androidx.annotation:annotation:1.6.0"
|
|
} |