*
This commit is contained in:
30
core/common/build.gradle.kts
Normal file
30
core/common/build.gradle.kts
Normal file
@@ -0,0 +1,30 @@
|
||||
// core:common 通用基础层:AppResult / UiState / 日志门面
|
||||
// 代码保持纯 Kotlin(不引 Android API),便于 JVM 单测与被所有 core 模块复用
|
||||
plugins {
|
||||
alias(libs.plugins.android.library)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.stec.cmd.core.common"
|
||||
compileSdk = 34
|
||||
|
||||
defaultConfig {
|
||||
minSdk = 26
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = "17"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(libs.kotlinx.coroutines.core)
|
||||
|
||||
testImplementation(libs.junit)
|
||||
}
|
||||
Reference in New Issue
Block a user