fix:
update:修改获取健康码
This commit is contained in:
2022-09-05 11:49:28 +08:00
parent e5b3385346
commit 04a842e3d7
13 changed files with 370 additions and 63 deletions

View File

@@ -61,14 +61,8 @@ android {
v1SigningEnabled true
v2SigningEnabled true
}
debug {
storeFile file("src/doc/xueshibaoos.jks")
storePassword "123456"
keyAlias "xueshibaoos"
keyPassword "123456"
v2SigningEnabled false
}
release {// 签名文件
mtk {
storeFile file("src/doc/xueshibaoos.jks")
storePassword "123456"
keyAlias "xueshibaoos"
@@ -92,6 +86,7 @@ android {
debuggable true
signingConfig signingConfigs.zhanRui
}
debug {
// 显示Log
buildConfigField "boolean", "LOG_DEBUG", "true"
@@ -99,7 +94,7 @@ android {
minifyEnabled false
//Zipalign优化
zipAlignEnabled true
signingConfig signingConfigs.debug
signingConfig signingConfigs.mtk
applicationVariants.all { variant ->
variant.outputs.each { output ->
if (outputFile != null) {
@@ -109,6 +104,7 @@ android {
}
}
}
release {
// 不显示Log
buildConfigField "boolean", "LOG_DEBUG", "false"
@@ -119,7 +115,7 @@ android {
//前一部分代表系统默认的android程序的混淆文件该文件已经包含了基本的混淆声明后一个文件是自己的定义混淆文件
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
//签名
signingConfig signingConfigs.release
signingConfig signingConfigs.mtk
// 将release版本的包名重命名加上版本及日期
applicationVariants.all { variant ->
variant.outputs.each { output ->
@@ -191,7 +187,7 @@ dependencies {
implementation 'com.amap.api:location:5.1.0'
//MMKV
implementation 'com.tencent:mmkv-static:1.2.12'
implementation 'com.tencent.tpns:tpns:1.3.6.0-release'
implementation 'com.tencent.tpns:tpns:1.3.6.1-release'
//状态栏透明
implementation 'com.gitee.zackratos:UltimateBarX:0.8.0'
//指示器