version:zhanrui 6.4.0

fix:
update:更换推送
This commit is contained in:
2023-06-17 09:30:06 +08:00
parent c508b65b58
commit 625a121cbb
34 changed files with 676 additions and 1703 deletions

View File

@@ -2,10 +2,10 @@ buildscript {
repositories {
google()
mavenCentral()
maven { url 'http://developer.huawei.com/repo/' }
maven { url "https://jitpack.io" }
maven { url 'http://developer.huawei.com/repo/' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
}
dependencies {
@@ -67,11 +67,12 @@ android {
targetSdkVersion 28
//// //MTK
// versionCode 43
// versionName "2.3.3"
// versionCode 48
// versionName "2.3.8"
//cube
versionCode 73
versionName "6.3.3"
versionCode 80
versionName "6.4.0"
ndk {
//选择要添加的对应 cpu 类型的 .so 库。
@@ -116,6 +117,14 @@ android {
v1SigningEnabled true
v2SigningEnabled true
}
TeclastP20S {
storeFile file("src/doc/MTKP20S.keystore")
storePassword "123456"
keyAlias "MTKP20S"
keyPassword "123456"
v2SigningEnabled false
}
}
buildTypes {
@@ -142,6 +151,20 @@ android {
signingConfig signingConfigs.zhanRuiUserdebug
}
TeclastP20SDebug.initWith(debug)
TeclastP20SDebug {
debuggable true
versionNameSuffix "-debug"
buildConfigField "String", "platform", '"P20S"'
signingConfig signingConfigs.TeclastP20S
}
TeclastP20SRelease.initWith(release)
TeclastP20SRelease {
buildConfigField "String", "platform", '"P20S"'
signingConfig signingConfigs.TeclastP20S
}
debug {
buildConfigField "String", "platform", '"MTK"'
debuggable true
@@ -295,13 +318,17 @@ android {
repositories {
maven { url "../../../prebuilts/fullsdk-darwin/extras/android/m2repository" }
maven { url "../../../prebuilts/fullsdk-linux/extras/android/m2repository" }
mavenCentral()
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
maven { url 'http://developer.huawei.com/repo/' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
}
dependencies {
compileOnly files('libs/framework.jar')
implementation files('libs/vendor.mediatek.hardware.nvram-V1.0-java.jar')
implementation "androidx.dynamicanimation:dynamicanimation:${ANDROID_X_VERSION}"
implementation "androidx.recyclerview:recyclerview:${ANDROID_X_VERSION}"
@@ -344,9 +371,8 @@ dependencies {
implementation 'com.tencent:mmkv-static:1.2.13'
//腾讯移动推送 TPNS
implementation 'com.tencent.tpns:tpns:1.3.2.0-release'
//极光推送
// implementation 'cn.jiguang.sdk:jpush:3.8.6' // 此处以JPush 3.8.6 版本为例。
// implementation 'cn.jiguang.sdk:jcore:2.6.0' // 此处以JCore 2.6.0 版本为例。
//阿里云推送
implementation 'com.aliyun.ams:alicloud-android-push:3.8.0'
//下载
implementation 'me.laoyuyu.aria:core:3.8.16'
annotationProcessor 'me.laoyuyu.aria:compiler:3.8.16'