51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.androidLibrary)
|
|
alias(libs.plugins.jetbrainsKotlinAndroid)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.kaixed.core.common"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
minSdk = 30
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
viewBinding {
|
|
enable = true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation(libs.androidx.core.ktx)
|
|
implementation(libs.appcompat)
|
|
implementation(libs.material)
|
|
testImplementation(libs.junit)
|
|
androidTestImplementation(libs.ext.junit)
|
|
androidTestImplementation(libs.espresso.core)
|
|
|
|
implementation(libs.pinyin4j)
|
|
|
|
implementation(libs.mmkv)
|
|
} |