30 行
769 B
Plaintext
30 行
769 B
Plaintext
|
|
plugins {
|
||
|
|
alias(libs.plugins.android.library)
|
||
|
|
alias(libs.plugins.kotlin.serialization)
|
||
|
|
id("org.jetbrains.kotlin.android") version "2.3.10"
|
||
|
|
}
|
||
|
|
|
||
|
|
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_11
|
||
|
|
targetCompatibility = JavaVersion.VERSION_11
|
||
|
|
}
|
||
|
|
kotlinOptions { jvmTarget = "11" }
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
api(libs.bundles.network)
|
||
|
|
api(libs.kotlinx.coroutines.android)
|
||
|
|
api(libs.kotlinx.serialization.json)
|
||
|
|
api(libs.androidx.datastore.preferences)
|
||
|
|
api(libs.androidx.core.ktx)
|
||
|
|
}
|