version:2.1.0
update: fix:更换应用之后删除原来的应用,加入获取哦log的服务,修复禁止升级的应用也会被卸载 add:
This commit is contained in:
@@ -41,9 +41,9 @@ android {
|
||||
//新平台正式
|
||||
newly {
|
||||
flavorDimensions "default"
|
||||
versionCode 509
|
||||
versionCode 510
|
||||
//versionCode 1037
|
||||
versionName "2.0.9"
|
||||
versionName "2.1.0"
|
||||
/*********************************极光推送************************************/
|
||||
manifestPlaceholders = [
|
||||
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
||||
@@ -168,22 +168,22 @@ android {
|
||||
buildTypes {
|
||||
zhanRuiRelease.initWith(release)
|
||||
zhanRuiRelease {
|
||||
buildConfigField "String", "platform", '"ZhanRui"'
|
||||
signingConfig signingConfigs.zhanRui
|
||||
manifestPlaceholders = [
|
||||
AMAP_KEY: "546eb5646a65ac6a5b7d1c7456466e05"
|
||||
]
|
||||
buildConfigField "String", "platform", '"ZhanRui"'
|
||||
signingConfig signingConfigs.zhanRui
|
||||
}
|
||||
|
||||
zhanRuiDebug.initWith(debug)
|
||||
zhanRuiDebug {
|
||||
manifestPlaceholders = [
|
||||
AMAP_KEY: "546eb5646a65ac6a5b7d1c7456466e05"
|
||||
]
|
||||
versionNameSuffix "-debug"
|
||||
buildConfigField "String", "platform", '"ZhanRui"'
|
||||
debuggable true
|
||||
signingConfig signingConfigs.zhanRui
|
||||
manifestPlaceholders = [
|
||||
AMAP_KEY: "546eb5646a65ac6a5b7d1c7456466e05"
|
||||
]
|
||||
}
|
||||
|
||||
debug {
|
||||
@@ -229,7 +229,7 @@ android {
|
||||
variant.outputs.each { output ->
|
||||
def outputFile = ""
|
||||
if (outputFile != null) {
|
||||
def fileName = "${appName()}-${variant.versionCode}-V${variant.versionName}-${releaseTime()}-${productFlavors[0].name}-${buildType.name}.apk"
|
||||
def fileName = "${appName()}-${variant.versionCode}-V${variant.versionName}-${releaseTime()}-${buildType.name}.apk"
|
||||
output.outputFileName = fileName
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user