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.push"
|
|
|
|
|
compileSdk = libs.versions.compileSdk.get().toInt()
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
minSdk = libs.versions.minSdk.get().toInt()
|
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
2026-05-05 17:54:59 +08:00
|
|
|
manifestPlaceholders["XUQM_VIVO_APP_ID"] = ""
|
|
|
|
|
manifestPlaceholders["XUQM_VIVO_APP_KEY"] = ""
|
|
|
|
|
manifestPlaceholders["XUQM_HONOR_APP_ID"] = ""
|
2026-04-21 22:07:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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"))
|
2026-05-05 17:54:59 +08:00
|
|
|
api(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar", "*.aar"))))
|
2026-05-05 22:02:46 +08:00
|
|
|
compileOnly(platform(libs.firebase.bom))
|
|
|
|
|
compileOnly(libs.firebase.messaging)
|
2026-05-05 17:54:59 +08:00
|
|
|
api("com.huawei.hms:push:6.12.0.300")
|
|
|
|
|
api("com.hihonor.mcs:push:7.0.41.301")
|
|
|
|
|
api("io.github.hebeiliang.mipush:Push:2.0.0")
|
|
|
|
|
api("com.umeng.umsdk:oppo-push:3.0.0")
|
|
|
|
|
api("com.umeng.umsdk:vivo-push:4.0.6.0")
|
2026-04-21 22:07:29 +08:00
|
|
|
}
|