mirror of
https://github.com/gedoor/legado.git
synced 2024-09-03 09:55:00 +08:00
35 lines
736 B
Groovy
35 lines
736 B
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
compileSdk = compile_sdk_version
|
|
namespace 'com.script'
|
|
kotlin {
|
|
jvmToolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
}
|
|
defaultConfig {
|
|
minSdk 21
|
|
targetSdk 33
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
lint {
|
|
checkDependencies true
|
|
}
|
|
tasks.withType(JavaCompile) {
|
|
options.compilerArgs << "-Xlint:deprecation"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(fileTree(dir: 'lib', include: ['rhino-1.7.13-2.jar']))
|
|
} |