mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
40 lines
938 B
Groovy
Executable File
40 lines
938 B
Groovy
Executable File
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.ext.compileSdk
|
|
buildToolsVersion rootProject.ext.buildTools
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.minSdk
|
|
targetSdkVersion rootProject.ext.targetSdk
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility rootProject.ext.javaSourceVersion
|
|
targetCompatibility rootProject.ext.javaTargetVersion
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree (dir: 'libs', include: ['*.jar'])
|
|
api common.antlr4
|
|
|
|
implementation androidx.ktx
|
|
implementation common.kotlin
|
|
|
|
testImplementation tests.junit
|
|
testImplementation tests.google_truth
|
|
testImplementation tests.robolectric
|
|
}
|