第一次提交
This commit is contained in:
@@ -40,27 +40,29 @@ android {
|
||||
checkReleaseBuilds = false
|
||||
}
|
||||
|
||||
compileSdk = 34
|
||||
compileSdk = 33
|
||||
|
||||
defaultConfig {
|
||||
manifestPlaceholders += mapOf()
|
||||
applicationId = "com.dskj.rbchat"
|
||||
applicationId = "com.hbl.lewan"
|
||||
minSdk = 24
|
||||
targetSdk = 34
|
||||
versionCode = 203
|
||||
versionName = "2.0.3"
|
||||
targetSdk = 33
|
||||
versionCode = 214
|
||||
versionName = "2.1.4"
|
||||
multiDexEnabled = true
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
// manifestPlaceholders["IMAPPKEY"] = "c38c8bbebf7d12992d2a361bfceb6c6f" //正式
|
||||
manifestPlaceholders["IMAPPKEY"] = "4cb6b0998f9e7af9d7673963e429959a" //测试
|
||||
manifestPlaceholders["IMAPPKEY"] = "cc831439977fc063bb56eea1109639cd" //正式
|
||||
// manifestPlaceholders["IMAPPKEY"] = "502a1d045bb802c75dd14a005a731256" //测试
|
||||
|
||||
manifestPlaceholders["JPUSH_PKGNAME"] = "com.dskj.rbchat"
|
||||
manifestPlaceholders["JPUSH_PKGNAME"] = "com.hbl.lewan"
|
||||
manifestPlaceholders["JPUSH_APPKEY"] = "9041bc22de91e3d9af3cfd23"
|
||||
manifestPlaceholders["JPUSH_CHANNEL"] = "developer-default"
|
||||
|
||||
ndk {
|
||||
abiFilters += listOf("armeabi-v7a", "arm64-v8a")
|
||||
// abiFilters += listOf("x86","x86_64","armeabi","armeabi-v7a","arm64-v8a")
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
// flavorDimensions += "version"
|
||||
// productFlavors {
|
||||
@@ -87,25 +89,25 @@ android {
|
||||
)
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
isDebuggable = false;
|
||||
|
||||
|
||||
// buildConfigField(
|
||||
// "String",
|
||||
// "HTTPS_BASE_URL",
|
||||
// "\"https://api.letschat2023.com/\""
|
||||
// )
|
||||
|
||||
buildConfigField(
|
||||
"String",
|
||||
"APIKEY",
|
||||
"\"AIzaSyB7P1o1EIA02eWoNP_7QJ9XwWe3WkSZb9k\""
|
||||
)
|
||||
buildConfigField(
|
||||
"String",
|
||||
"AREA_CODE",
|
||||
"\"+86\""
|
||||
)
|
||||
manifestPlaceholders["APPICON"] = "@mipmap/ic_launche" //正式
|
||||
manifestPlaceholders["APPICON_ROUND"] = "@mipmap/ic_launche_round" //正式
|
||||
|
||||
//正式服
|
||||
// manifestPlaceholders["IMAPPKEY"] = "c38c8bbebf7d12992d2a361bfceb6c6f" //正式
|
||||
manifestPlaceholders["IMAPPKEY"] = "4cb6b0998f9e7af9d7673963e429959a"
|
||||
manifestPlaceholders["IMAPPKEY"] = "cc831439977fc063bb56eea1109639cd" //正式
|
||||
|
||||
}
|
||||
|
||||
|
||||
getByName("debug") {
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(
|
||||
@@ -115,19 +117,22 @@ android {
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
isDebuggable = true
|
||||
|
||||
// buildConfigField(
|
||||
// "String",
|
||||
// "HTTPS_BASE_URL",
|
||||
// "\"https://api-test.letschat2023.com/\""
|
||||
// )
|
||||
buildConfigField(
|
||||
"String",
|
||||
"APIKEY",
|
||||
"\"AIzaSyB7P1o1EIA02eWoNP_7QJ9XwWe3WkSZb9k\""
|
||||
)
|
||||
//测试APPKEY
|
||||
manifestPlaceholders["IMAPPKEY"] = "4cb6b0998f9e7af9d7673963e429959a"
|
||||
// manifestPlaceholders["IMAPPKEY"] = "c38c8bbebf7d12992d2a361bfceb6c6f"
|
||||
buildConfigField(
|
||||
"String",
|
||||
"AREA_CODE",
|
||||
"\"+86\""
|
||||
)
|
||||
manifestPlaceholders["APPICON"] = "@mipmap/ic_launche" //正式
|
||||
manifestPlaceholders["APPICON_ROUND"] = "@mipmap/ic_launche_round" //正式
|
||||
|
||||
// 测试APPKEY
|
||||
// manifestPlaceholders["IMAPPKEY"] = "502a1d045bb802c75dd14a005a731256"
|
||||
manifestPlaceholders["IMAPPKEY"] = "cc831439977fc063bb56eea1109639cd"
|
||||
|
||||
|
||||
}
|
||||
@@ -151,8 +156,10 @@ android {
|
||||
packagingOptions {
|
||||
jniLibs.pickFirsts.add("lib/arm64-v8a/libc++_shared.so")
|
||||
jniLibs.pickFirsts.add("lib/armeabi-v7a/libc++_shared.so")
|
||||
exclude("META-INF/gradle/incremental.annotation.processors")
|
||||
|
||||
}
|
||||
namespace = "com.dskj.rbchat"
|
||||
namespace = "com.hbl.lewan"
|
||||
|
||||
|
||||
// applicationVariants.all {
|
||||
@@ -174,7 +181,6 @@ android {
|
||||
|
||||
dependencies {
|
||||
val room_version = "2.4.3"
|
||||
|
||||
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar", "*.aar"))))
|
||||
implementation("androidx.appcompat:appcompat:1.6.1")
|
||||
implementation("com.google.android.material:material:1.8.0")
|
||||
@@ -185,18 +191,13 @@ dependencies {
|
||||
implementation(project(":conversationkit-ui"))
|
||||
implementation(project(":teamkit-ui"))
|
||||
implementation(project(":chatkit-ui"))
|
||||
implementation(project(":locationkit"))
|
||||
// implementation(project(":locationkit"))
|
||||
implementation(project(":fingermanager"))
|
||||
// implementation(project(":citypickerview"))
|
||||
// implementation("com.netease.yunxin.kit.contact:contactkit-ui:9.6.2")
|
||||
// implementation("com.netease.yunxin.kit.conversation:conversationkit-ui:9.6.2")
|
||||
// implementation("com.netease.yunxin.kit.team:teamkit-ui:9.6.2")
|
||||
// implementation("com.netease.yunxin.kit.chat:chatkit-ui:9.6.2")
|
||||
// implementation("com.netease.yunxin.kit.locationkit:locationkit:9.6.2")
|
||||
implementation("com.netease.yunxin.kit.call:call-ui:1.8.2") //呼叫组件 UI 包
|
||||
api("com.netease.nimlib:avsignalling:9.11.0") //呼叫组件 依赖信令包
|
||||
// implementation("com.netease.yunxin.kit.call:call-ui:1.8.2") //呼叫组件 UI 包
|
||||
// api("com.netease.nimlib:avsignalling:9.11.0") //呼叫组件 依赖信令包
|
||||
api("com.netease.nimlib:basesdk:9.11.0") //IM SDK
|
||||
implementation("com.airbnb.android:lottie:5.0.3")
|
||||
// api("com.netease.nimlib:push:9.19.11")
|
||||
// implementation("com.airbnb.android:lottie:5.0.3")
|
||||
implementation("com.github.bumptech.glide:glide:4.13.1")
|
||||
implementation("jp.wasabeef:glide-transformations:4.3.0")
|
||||
//retrofit2
|
||||
@@ -204,13 +205,19 @@ dependencies {
|
||||
implementation("com.squareup.retrofit2:converter-gson:2.9.0")
|
||||
implementation("com.squareup.retrofit2:converter-scalars:2.9.0")
|
||||
|
||||
//
|
||||
// implementation ("com.qiniu:qiniu-java-sdk:7.16.0") {
|
||||
// exclude(group = "com.squareup.okhttp3", module = "okhttp")
|
||||
// }
|
||||
|
||||
implementation("com.squareup.okhttp3:okhttp:4.9.3")
|
||||
implementation("com.huawei.hms:push:6.3.0.302") {
|
||||
exclude(group = "com.huawei.hms", module = "update") // com.huawei.hms:update
|
||||
exclude(group = "com.huawei.hms", module = "availableupdate") // com.huawei.hms:update
|
||||
}
|
||||
implementation("com.meizu.flyme.internet:push-internal:4.1.0")
|
||||
implementation("com.huawei.agconnect:agconnect-core:1.6.5.300")
|
||||
// implementation("com.huawei.hms:push:6.3.0.302") {
|
||||
// exclude(group = "com.huawei.hms", module = "update") // com.huawei.hms:update
|
||||
// exclude(group = "com.huawei.hms", module = "availableupdate") // com.huawei.hms:update
|
||||
// }
|
||||
|
||||
// implementation("com.meizu.flyme.internet:push-internal:4.1.0")
|
||||
// implementation("com.huawei.agconnect:agconnect-core:1.6.5.300")
|
||||
// Hilt 对于ViewModel的支持
|
||||
implementation("androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha02")
|
||||
implementation("androidx.hilt:hilt-compiler:1.0.0-alpha02")
|
||||
@@ -236,8 +243,8 @@ dependencies {
|
||||
// implementation("com.google.firebase:firebase-analytics:20.0.0")
|
||||
implementation(platform("com.google.firebase:firebase-bom:32.3.1"))
|
||||
//skeleton
|
||||
implementation("com.github.ethanhua:Skeleton:ff06517d4629e87328c41a1cce614c490ed7fb51")
|
||||
implementation("io.supercharge:shimmerlayout:2.1.0")
|
||||
// implementation("com.github.ethanhua:Skeleton:ff06517d4629e87328c41a1cce614c490ed7fb51")
|
||||
// implementation("io.supercharge:shimmerlayout:2.1.0")
|
||||
//jsbridge
|
||||
implementation("com.github.lzyzsd:jsbridge:1.0.4")
|
||||
implementation("com.smallbuer:jsbridge:1.0.7")
|
||||
@@ -246,24 +253,24 @@ dependencies {
|
||||
//华为scanplus
|
||||
implementation("com.huawei.hms:scanplus:2.12.0.301")
|
||||
|
||||
implementation("com.tencent.mm.opensdk:wechat-sdk-android:6.8.0")
|
||||
implementation("com.youth.banner:banner:1.4.9")
|
||||
// implementation("com.tencent.mm.opensdk:wechat-sdk-android:6.8.0")
|
||||
// implementation("com.youth.banner:banner:1.4.9")
|
||||
|
||||
implementation("com.github.iwgang:simplifyspan:2.1")
|
||||
implementation("io.github.hariprasanths:bounceview-android:0.2.0")
|
||||
// implementation("io.github.hariprasanths:bounceview-android:0.2.0")
|
||||
// implementation("com.contrarywind:Android-PickerView:4.1.9")
|
||||
implementation("com.aliyun.dpa:oss-android-sdk:2.9.13")
|
||||
// implementation("com.aliyun.dpa:oss-android-sdk:2.9.13")
|
||||
implementation("com.github.jenly1314:zxing-lite:2.1.1")
|
||||
implementation("com.blankj:utilcodex:1.31.0")
|
||||
implementation("com.github.jenly1314.AppUpdater:app-updater:1.1.3")
|
||||
implementation("cn.jiguang.sdk:jpush:5.0.7") // 必选,此处以JPush 5.0.7 版本为例,注意:5.0.0 版本开始可以自动拉取 JCore 包,无需另外配置
|
||||
implementation("cn.jiguang.sdk.plugin:fcm:5.0.7")
|
||||
implementation("cn.jiguang.sdk:joperate:2.0.2") // 可选,集成极光分析SDK后,即可支持行为触发推送消息、推送转化率统计,用户行为分析和用户标签等功能
|
||||
implementation("com.github.SherlockGougou:BigImageViewPager:androidx-7.2.5")
|
||||
// implementation("cn.jiguang.sdk:jpush:5.0.7") // 必选,此处以JPush 5.0.7 版本为例,注意:5.0.0 版本开始可以自动拉取 JCore 包,无需另外配置
|
||||
// implementation("cn.jiguang.sdk.plugin:fcm:5.0.7")
|
||||
// implementation("cn.jiguang.sdk:joperate:2.0.2") // 可选,集成极光分析SDK后,即可支持行为触发推送消息、推送转化率统计,用户行为分析和用户标签等功能
|
||||
implementation("com.github.SherlockGougou:BigImageViewPager:androidx-7.3.0")
|
||||
annotationProcessor("com.github.bumptech.glide:compiler:4.11.0")
|
||||
|
||||
implementation("com.google.android.gms:play-services-location:21.0.1")
|
||||
implementation("com.google.android.gms:play-services-maps:18.2.0")
|
||||
// implementation("com.google.android.gms:play-services-location:21.0.1")
|
||||
// implementation("com.google.android.gms:play-services-maps:18.2.0")
|
||||
// implementation("com.gitee.sakaue:QSVideoPayer:2.2.9")
|
||||
// implementation("tv.danmaku.ijk.media:ijkplayer-armv5:0.8.8")
|
||||
// implementation("tv.danmaku.ijk.media:ijkplayer-arm64:0.8.8")
|
||||
@@ -279,4 +286,9 @@ dependencies {
|
||||
|
||||
implementation("com.airbnb.android:lottie:6.0.0") // lottie json动画
|
||||
|
||||
implementation ("com.qiniu:qiniu-android-sdk:8.6.0"){
|
||||
exclude(group = "com.squareup.okhttp3", module = "okhttp")
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user