XuqmGroup-AndroidSDK/sdk-push/build.gradle.kts
XuqmGroup ea693d5c66 feat(push): 添加多厂商推送集成支持
- 实现了华为 HMS 推送服务集成
- 实现了小米推送服务集成
- 实现了 OPPO 推送服务集成
- 实现了 vivo 推送服务集成
- 实现了荣耀推送服务集成
- 实现了 FCM 推送服务集成
- 添加了统一的厂商推送接口和检测机制
- 添加了推送配置 API 和存储管理
- 添加了推送令牌管理和设备注册功能
- 添加了模拟器环境的推送测试用例
2026-05-05 17:54:59 +08:00

40 行
1.1 KiB
Plaintext

plugins {
alias(libs.plugins.android.library)
}
apply(from = rootProject.file("gradle/publish.gradle"))
android {
namespace = "com.xuqm.sdk.push"
compileSdk = libs.versions.compileSdk.get().toInt()
defaultConfig {
minSdk = libs.versions.minSdk.get().toInt()
consumerProguardFiles("consumer-rules.pro")
manifestPlaceholders["XUQM_VIVO_APP_ID"] = ""
manifestPlaceholders["XUQM_VIVO_APP_KEY"] = ""
manifestPlaceholders["XUQM_HONOR_APP_ID"] = ""
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
publishing {
singleVariant("release")
}
}
dependencies {
api(project(":sdk-core"))
api(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar", "*.aar"))))
implementation(platform(libs.firebase.bom))
implementation(libs.firebase.messaging)
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")
}