35 行
785 B
Plaintext
35 行
785 B
Plaintext
plugins {
|
|
alias(libs.plugins.android.library)
|
|
}
|
|
|
|
apply(from = rootProject.file("gradle/publishing.gradle.kts"))
|
|
|
|
android {
|
|
namespace = "com.xuqm.sdk.core"
|
|
compileSdk = libs.versions.compileSdk.get().toInt()
|
|
|
|
defaultConfig {
|
|
minSdk = libs.versions.minSdk.get().toInt()
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
targetCompatibility = JavaVersion.VERSION_21
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
}
|
|
|
|
dependencies {
|
|
api(libs.androidx.core.ktx)
|
|
api(libs.bundles.network)
|
|
api(libs.kotlinx.serialization.json)
|
|
implementation(libs.kotlinx.coroutines.android)
|
|
implementation(libs.androidx.datastore.preferences)
|
|
|
|
testImplementation(libs.junit4)
|
|
}
|