version:1.0.0
fix: update:预览版
This commit is contained in:
@@ -59,102 +59,9 @@ android {
|
||||
v2SigningEnabled false
|
||||
}
|
||||
|
||||
// iPlay50SE {
|
||||
// storeFile file("keystore/iPlay50SE.keystore")
|
||||
// storePassword "123456"
|
||||
// keyAlias "iplay50se"
|
||||
// keyPassword "123456"
|
||||
// v1SigningEnabled true
|
||||
// v2SigningEnabled true
|
||||
// }
|
||||
|
||||
U807 {
|
||||
storeFile file("keystore/AllwinnerU807.jks")
|
||||
storePassword "123456"
|
||||
keyAlias "u807"
|
||||
keyPassword "123456"
|
||||
v2SigningEnabled false
|
||||
}
|
||||
|
||||
T1102 {
|
||||
storeFile file("keystore/T1102.jks")
|
||||
storePassword "123456"
|
||||
keyAlias "t1102"
|
||||
keyPassword "123456"
|
||||
v1SigningEnabled true
|
||||
v2SigningEnabled true
|
||||
}
|
||||
|
||||
iPlay50P {
|
||||
storeFile file("keystore/iPlay50P.jks")
|
||||
storePassword "123456"
|
||||
keyAlias "iplay50p"
|
||||
keyPassword "123456"
|
||||
v1SigningEnabled true
|
||||
v2SigningEnabled true
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
iPlay50PDebug.initWith(debug)
|
||||
iPlay50PDebug {
|
||||
buildConfigField "String", "platform", '"T1102"'
|
||||
versionNameSuffix "-debug"
|
||||
debuggable true
|
||||
signingConfig signingConfigs.iPlay50P
|
||||
manifestPlaceholders = [
|
||||
AMAP_KEY: "aed54e2ec50c45151d17b512c9e4f34c"
|
||||
]
|
||||
}
|
||||
|
||||
iPlay50PRelease.initWith(release)
|
||||
iPlay50PRelease {
|
||||
buildConfigField "String", "platform", '"T1102"'
|
||||
signingConfig signingConfigs.iPlay50P
|
||||
manifestPlaceholders = [
|
||||
AMAP_KEY: "aed54e2ec50c45151d17b512c9e4f34c"
|
||||
]
|
||||
}
|
||||
|
||||
MTKT1102Debug.initWith(debug)
|
||||
MTKT1102Debug {
|
||||
buildConfigField "String", "platform", '"MTKT1102"'
|
||||
versionNameSuffix "-debug"
|
||||
debuggable true
|
||||
signingConfig signingConfigs.T1102
|
||||
manifestPlaceholders = [
|
||||
AMAP_KEY: "aed54e2ec50c45151d17b512c9e4f34c"
|
||||
]
|
||||
}
|
||||
|
||||
MTKT1102Release.initWith(release)
|
||||
MTKT1102Release {
|
||||
buildConfigField "String", "platform", '"MTKT1102"'
|
||||
signingConfig signingConfigs.T1102
|
||||
manifestPlaceholders = [
|
||||
AMAP_KEY: "aed54e2ec50c45151d17b512c9e4f34c"
|
||||
]
|
||||
}
|
||||
|
||||
U807Debug.initWith(debug)
|
||||
U807Debug {
|
||||
versionNameSuffix "-debug"
|
||||
debuggable true
|
||||
signingConfig signingConfigs.U807
|
||||
buildConfigField "String", "platform", '"U807"'
|
||||
manifestPlaceholders = [
|
||||
AMAP_KEY: "8200776fc8cad995184a9a3a17a552e4"
|
||||
]
|
||||
}
|
||||
|
||||
U807Release.initWith(release)
|
||||
U807Release {
|
||||
signingConfig signingConfigs.U807
|
||||
buildConfigField "String", "platform", '"U807"'
|
||||
manifestPlaceholders = [
|
||||
AMAP_KEY: "8200776fc8cad995184a9a3a17a552e4"
|
||||
]
|
||||
}
|
||||
|
||||
debug {
|
||||
versionNameSuffix "-debug"
|
||||
@@ -170,7 +77,7 @@ android {
|
||||
variant.outputs.each { output ->
|
||||
if (outputFile != null) {
|
||||
// def app_name = getResValues().get("app_name").value
|
||||
def fileName = "${appName()}-${variant.versionCode}-V${variant.versionName}-${releaseTime()}-${buildType.name}.apk"
|
||||
def fileName = "${appName()}_${variant.versionCode}_V${variant.versionName}_${releaseTime()}_${buildType.name}.apk"
|
||||
output.outputFileName = fileName
|
||||
}
|
||||
}
|
||||
@@ -195,7 +102,7 @@ android {
|
||||
def outputFile = ""
|
||||
if (outputFile != null) {
|
||||
// def app_name = getResValues().get("app_name").value
|
||||
def fileName = "${appName()}-${variant.versionCode}-V${variant.versionName}-${releaseTime()}-${buildType.name}.apk"
|
||||
def fileName = "${appName()}_${variant.versionCode}_V${variant.versionName}_${releaseTime()}_${buildType.name}.apk"
|
||||
output.outputFileName = new File(outputFile, fileName)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user