mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
70 lines
1.8 KiB
Groovy
70 lines
1.8 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-parcelize'
|
|
|
|
android {
|
|
namespace "com.itsaky.androidide.projects"
|
|
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
|
|
}
|
|
}
|
|
}
|
|
|
|
kapt {
|
|
arguments {
|
|
arg ('eventBusIndex', 'com.itsaky.androidide.events.ProjectsApiEventsIndex')
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
kapt common.eventbus_ap
|
|
|
|
api project (path: ':eventbus')
|
|
api project (path: ':eventbus-events')
|
|
api project (path: ':subprojects:tooling-api')
|
|
|
|
implementation project (path: ':common')
|
|
implementation project (path: ':logger')
|
|
implementation project (path: ':lookup')
|
|
implementation project (path: ':shared')
|
|
implementation project (path: ':subprojects:javac-services')
|
|
implementation project (path: ':subprojects:xml-utils')
|
|
|
|
implementation common.io
|
|
implementation google.guava
|
|
|
|
testImplementation project (path: ':subprojects:tooling-api-testing')
|
|
testImplementation tests.junit
|
|
testImplementation tests.google_truth
|
|
testImplementation tests.robolectric
|
|
androidTestImplementation tests.androidx_junit
|
|
androidTestImplementation tests.androidx_espresso
|
|
androidTestImplementation tests.google_truth
|
|
} |