version:3.6
fix:去点腾讯推送 update:去掉系统节点
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: "com.tencent.android.tpns"
|
||||
|
||||
def appName() {
|
||||
return "AIOS系统"
|
||||
@@ -16,8 +15,8 @@ android {
|
||||
applicationId "com.uiuios.aios"
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 29
|
||||
versionCode 26
|
||||
versionName "3.5"
|
||||
versionCode 27
|
||||
versionName "3.6"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
@@ -49,6 +48,14 @@ android {
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
tuixin {
|
||||
storeFile file("keystore/tuixin.jks")
|
||||
storePassword "123456"
|
||||
keyAlias "universal"
|
||||
keyPassword "123456"
|
||||
v2SigningEnabled false
|
||||
}
|
||||
|
||||
zhanRui {
|
||||
storeFile file("keystore/zhanxun.keystore")
|
||||
storePassword "123456"
|
||||
@@ -95,41 +102,41 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
MTK8183Debug.initWith(debug)
|
||||
MTK8183Debug {
|
||||
versionNameSuffix "-debug"
|
||||
debuggable true
|
||||
signingConfig signingConfigs.MTK8183
|
||||
}
|
||||
|
||||
MTK8183Release.initWith(release)
|
||||
MTK8183Release {
|
||||
signingConfig signingConfigs.MTK8183
|
||||
}
|
||||
|
||||
G10PDebug.initWith(debug)
|
||||
G10PDebug {
|
||||
versionNameSuffix "-debug"
|
||||
debuggable true
|
||||
signingConfig signingConfigs.G10P
|
||||
}
|
||||
|
||||
G10PRelease.initWith(release)
|
||||
G10PRelease {
|
||||
signingConfig signingConfigs.G10P
|
||||
}
|
||||
|
||||
zhanRuiRelease.initWith(release)
|
||||
zhanRuiRelease {
|
||||
signingConfig signingConfigs.zhanRui
|
||||
}
|
||||
|
||||
zhanRuiDebug.initWith(debug)
|
||||
zhanRuiDebug {
|
||||
versionNameSuffix "-debug"
|
||||
debuggable true
|
||||
signingConfig signingConfigs.zhanRui
|
||||
}
|
||||
// MTK8183Debug.initWith(debug)
|
||||
// MTK8183Debug {
|
||||
// versionNameSuffix "-debug"
|
||||
// debuggable true
|
||||
// signingConfig signingConfigs.MTK8183
|
||||
// }
|
||||
//
|
||||
// MTK8183Release.initWith(release)
|
||||
// MTK8183Release {
|
||||
// signingConfig signingConfigs.MTK8183
|
||||
// }
|
||||
//
|
||||
// G10PDebug.initWith(debug)
|
||||
// G10PDebug {
|
||||
// versionNameSuffix "-debug"
|
||||
// debuggable true
|
||||
// signingConfig signingConfigs.G10P
|
||||
// }
|
||||
//
|
||||
// G10PRelease.initWith(release)
|
||||
// G10PRelease {
|
||||
// signingConfig signingConfigs.G10P
|
||||
// }
|
||||
//
|
||||
// zhanRuiRelease.initWith(release)
|
||||
// zhanRuiRelease {
|
||||
// signingConfig signingConfigs.zhanRui
|
||||
// }
|
||||
//
|
||||
// zhanRuiDebug.initWith(debug)
|
||||
// zhanRuiDebug {
|
||||
// versionNameSuffix "-debug"
|
||||
// debuggable true
|
||||
// signingConfig signingConfigs.zhanRui
|
||||
// }
|
||||
|
||||
debug {
|
||||
// 显示Log
|
||||
@@ -137,7 +144,7 @@ android {
|
||||
minifyEnabled false
|
||||
//Zipalign优化
|
||||
zipAlignEnabled true
|
||||
signingConfig signingConfigs.mtk
|
||||
signingConfig signingConfigs.tuixin
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
if (outputFile != null) {
|
||||
@@ -157,7 +164,7 @@ android {
|
||||
//前一部分代表系统默认的android程序的混淆文件,该文件已经包含了基本的混淆声明,后一个文件是自己的定义混淆文件
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
//签名
|
||||
signingConfig signingConfigs.mtk
|
||||
signingConfig signingConfigs.tuixin
|
||||
// 将release版本的包名重命名,加上版本及日期
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
@@ -174,9 +181,10 @@ android {
|
||||
|
||||
dependencies {
|
||||
// implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
compileOnly files('libs/framework.jar')
|
||||
// compileOnly files('libs/framework.jar')
|
||||
implementation files('libs/QWeather_Public_Android_V4.9.jar')
|
||||
implementation project(path: ':niceimageview')
|
||||
implementation project(path: ':verification-view')
|
||||
|
||||
//保持1.3.1 更新会报错
|
||||
implementation 'androidx.appcompat:appcompat:1.3.1'
|
||||
@@ -230,8 +238,6 @@ dependencies {
|
||||
// implementation 'com.baidu.lbsyun:BaiduMapSDK_Location:9.1.8'
|
||||
//MMKV
|
||||
implementation 'com.tencent:mmkv-static:1.2.14'
|
||||
//腾讯移动推送 TPNS
|
||||
implementation 'com.tencent.tpns:tpns:1.3.8.0-release'
|
||||
//阿里云推送
|
||||
implementation 'com.aliyun.ams:alicloud-android-push:3.8.0'
|
||||
//状态栏透明
|
||||
@@ -255,6 +261,8 @@ dependencies {
|
||||
// implementation 'com.jacktuotuo.customview:verificationcodeview:1.0.5'
|
||||
implementation 'com.contrarywind:Android-PickerView:4.1.9'
|
||||
implementation 'com.github.ForgetAll:LoadingDialog:v1.1.2'
|
||||
//动态权限框架
|
||||
implementation 'com.github.getActivity:XXPermissions:16.6'
|
||||
}
|
||||
|
||||
preBuild {
|
||||
|
||||
Reference in New Issue
Block a user