2026-03-27 15:44:01 +08:00
|
|
|
plugins {
|
|
|
|
|
alias(libs.plugins.android.library)
|
|
|
|
|
alias(libs.plugins.kotlin.compose)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
apply(from = rootProject.file("gradle/publishing.gradle.kts"))
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
namespace = "com.xuqm.sdk.compose"
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildFeatures {
|
|
|
|
|
compose = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
|
jvmToolchain(21)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
api(project(":commonsdk-core"))
|
|
|
|
|
implementation(libs.androidx.core.ktx)
|
|
|
|
|
implementation(libs.androidx.activity.compose)
|
2026-03-27 18:45:21 +08:00
|
|
|
implementation(libs.androidx.activity.ktx)
|
|
|
|
|
implementation(libs.androidx.webkit)
|
2026-03-27 15:44:01 +08:00
|
|
|
implementation(platform(libs.androidx.compose.bom))
|
|
|
|
|
implementation(libs.bundles.compose)
|
2026-03-27 18:45:21 +08:00
|
|
|
implementation(libs.coil.compose)
|
2026-03-27 15:44:01 +08:00
|
|
|
|
|
|
|
|
debugImplementation(libs.bundles.compose.debug)
|
|
|
|
|
}
|