version:1.0
fix:修复bug update:
This commit is contained in:
@@ -17,8 +17,9 @@ android {
|
||||
applicationId "com.uiui.zyappstore"
|
||||
minSdkVersion 26
|
||||
targetSdkVersion 29
|
||||
versionCode 2
|
||||
versionName "1.1"
|
||||
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
@@ -45,23 +46,90 @@ android {
|
||||
|
||||
//签名
|
||||
signingConfigs {
|
||||
mtk12 {
|
||||
MTK {
|
||||
storeFile file("keystore/TeclastMTK12.jks")
|
||||
storePassword "123456"
|
||||
keyAlias "TeclastMTK12"
|
||||
keyPassword "123456"
|
||||
v2SigningEnabled false
|
||||
}
|
||||
|
||||
cube8183 {
|
||||
storeFile file("keystore/TeclastMTK12.jks")
|
||||
storePassword "123456"
|
||||
keyAlias "TeclastMTK12"
|
||||
keyPassword "123456"
|
||||
v2SigningEnabled false
|
||||
}
|
||||
|
||||
teclast8183 {
|
||||
storeFile file("keystore/TeclastMTK12.jks")
|
||||
storePassword "123456"
|
||||
keyAlias "TeclastMTK12"
|
||||
keyPassword "123456"
|
||||
v2SigningEnabled false
|
||||
}
|
||||
|
||||
zhanRui {
|
||||
storeFile file("keystore/zhanxun.keystore")
|
||||
storePassword "123456"
|
||||
keyAlias "zhanxun"
|
||||
keyPassword "123456"
|
||||
v1SigningEnabled true
|
||||
v2SigningEnabled false
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
Cube8183Debug.initWith(debug)
|
||||
Cube8183Debug {
|
||||
debuggable true
|
||||
versionNameSuffix "-debug"
|
||||
buildConfigField "String", "platform", '"cube8183"'
|
||||
signingConfig signingConfigs.cube8183
|
||||
}
|
||||
|
||||
Cube8183Release.initWith(release)
|
||||
Cube8183Release {
|
||||
buildConfigField "String", "platform", '"cube8183"'
|
||||
signingConfig signingConfigs.cube8183
|
||||
}
|
||||
|
||||
Teclast8183Debug.initWith(debug)
|
||||
Teclast8183Debug {
|
||||
debuggable true
|
||||
versionNameSuffix "-debug"
|
||||
buildConfigField "String", "platform", '"teclast8183"'
|
||||
signingConfig signingConfigs.teclast8183
|
||||
}
|
||||
|
||||
Teclast8183Release.initWith(release)
|
||||
Teclast8183Release {
|
||||
buildConfigField "String", "platform", '"teclast8183"'
|
||||
signingConfig signingConfigs.teclast8183
|
||||
}
|
||||
|
||||
zhanRuiDebug.initWith(debug)
|
||||
zhanRuiDebug {
|
||||
debuggable true
|
||||
versionNameSuffix "-debug"
|
||||
buildConfigField "String", "platform", '"展锐"'
|
||||
signingConfig signingConfigs.zhanRui
|
||||
}
|
||||
|
||||
zhanRuiRelease.initWith(release)
|
||||
zhanRuiRelease {
|
||||
buildConfigField "String", "platform", '"展锐"'
|
||||
signingConfig signingConfigs.zhanRui
|
||||
}
|
||||
|
||||
debug {
|
||||
buildConfigField "String", "platform", '"TeclastMTK12"'
|
||||
buildConfigField "String", "platform", '"MTK"'
|
||||
versionNameSuffix "-debug"
|
||||
minifyEnabled false
|
||||
//Zipalign优化
|
||||
zipAlignEnabled true
|
||||
signingConfig signingConfigs.mtk12
|
||||
signingConfig signingConfigs.MTK
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
if (outputFile != null) {
|
||||
@@ -72,7 +140,7 @@ android {
|
||||
}
|
||||
}
|
||||
release {
|
||||
buildConfigField "String", "platform", '"TeclastMTK12"'
|
||||
buildConfigField "String", "platform", '"MTK"'
|
||||
//混淆
|
||||
minifyEnabled false
|
||||
//Zipalign优化
|
||||
@@ -80,7 +148,7 @@ android {
|
||||
//前一部分代表系统默认的android程序的混淆文件,该文件已经包含了基本的混淆声明,后一个文件是自己的定义混淆文件
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
//签名
|
||||
signingConfig signingConfigs.mtk12
|
||||
signingConfig signingConfigs.MTK
|
||||
// 将release版本的包名重命名,加上版本及日期
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
@@ -128,7 +196,7 @@ dependencies {
|
||||
//动态权限框架
|
||||
implementation 'com.hjq:xxpermissions:6.0'
|
||||
//okhttp
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.9.2'
|
||||
//Retrofit
|
||||
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
||||
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
||||
|
||||
Reference in New Issue
Block a user