mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
31 lines
667 B
Groovy
31 lines
667 B
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
compileSdk = compile_sdk_version
|
|
buildToolsVersion = build_tool_version
|
|
namespace 'com.script'
|
|
defaultConfig {
|
|
minSdk 21
|
|
targetSdk 33
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
lint {
|
|
checkDependencies true
|
|
}
|
|
tasks.withType(JavaCompile) {
|
|
options.compilerArgs << "-Xlint:deprecation"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(fileTree(dir: 'lib', include: ['rhino-1.7.14-2.jar']))
|
|
} |