mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
1efd6a04d5
Gradle, for some reason, does not the path of modules to identify them uniquely. Instead, the 'build id' is used to do so, which consists of the maven group and artifact ID. So, even if two modules are located in separate directories, but have the name group and artifact ID, including both of them in other modules may result in dependency resolution errors.
35 lines
727 B
Kotlin
35 lines
727 B
Kotlin
import com.itsaky.androidide.build.config.BuildConfig
|
|
|
|
plugins {
|
|
id("com.android.library")
|
|
id("kotlin-android")
|
|
}
|
|
|
|
groupConfig {
|
|
groupIdSuffix.set("java")
|
|
}
|
|
|
|
android {
|
|
namespace = "${BuildConfig.packageName}.javac.services"
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(libs.composite.javac)
|
|
|
|
implementation(libs.common.kotlin)
|
|
implementation(libs.common.utilcode)
|
|
implementation(libs.google.guava)
|
|
|
|
implementation(projects.core.common)
|
|
implementation(projects.logging.logger)
|
|
|
|
testImplementation(libs.tests.junit)
|
|
testImplementation(libs.tests.google.truth)
|
|
testImplementation(libs.tests.robolectric)
|
|
} |