2026-04-21 22:07:29 +08:00
|
|
|
plugins {
|
|
|
|
|
alias(libs.plugins.android.library)
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-29 15:23:51 +08:00
|
|
|
apply(from = rootProject.file("gradle/publish.gradle"))
|
2026-04-29 15:09:12 +08:00
|
|
|
|
2026-04-21 22:07:29 +08:00
|
|
|
android {
|
|
|
|
|
namespace = "com.xuqm.sdk.im"
|
|
|
|
|
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
|
|
|
|
|
}
|
2026-04-29 15:32:23 +08:00
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
|
singleVariant("release")
|
|
|
|
|
}
|
2026-04-21 22:07:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
api(project(":sdk-core"))
|
|
|
|
|
implementation(libs.kotlinx.coroutines.android)
|
|
|
|
|
}
|