mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
42 lines
889 B
Groovy
42 lines
889 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
namespace "com.itsaky.androidide.shared"
|
|
compileSdkVersion rootProject.ext.compileSdk
|
|
buildToolsVersion rootProject.ext.buildTools
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.minSdk
|
|
targetSdkVersion rootProject.ext.targetSdk
|
|
}
|
|
|
|
buildFeatures.viewBinding true
|
|
|
|
compileOptions {
|
|
sourceCompatibility rootProject.ext.javaSourceVersion
|
|
targetCompatibility rootProject.ext.javaTargetVersion
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
}
|
|
}
|
|
|
|
testOptions {
|
|
unitTests {
|
|
includeAndroidResources = true
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation google.guava
|
|
|
|
implementation project(path: ':logger')
|
|
} |