version:1.0.1
fix: update:增加W5A平台
This commit is contained in:
@@ -108,9 +108,37 @@ android {
|
||||
v1SigningEnabled true
|
||||
v2SigningEnabled true
|
||||
}
|
||||
|
||||
W5A {
|
||||
storeFile file("keystore/Unisoc_W5A.jks")
|
||||
storePassword "123456"
|
||||
keyAlias "Unisoc_W5A"
|
||||
keyPassword "123456"
|
||||
v2SigningEnabled false
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
W5ADebug.initWith(debug)
|
||||
W5ADebug {
|
||||
versionNameSuffix "-debug"
|
||||
debuggable true
|
||||
signingConfig signingConfigs.W5A
|
||||
buildConfigField "String", "platform", '"YKWA5E"'
|
||||
manifestPlaceholders = [
|
||||
Baidu_AK: "YCmfZSw54O992lChzS3c4roYioitT54h"
|
||||
]
|
||||
}
|
||||
|
||||
W5ARelease.initWith(release)
|
||||
W5ARelease {
|
||||
signingConfig signingConfigs.W5A
|
||||
buildConfigField "String", "platform", '"YKWA5E"'
|
||||
manifestPlaceholders = [
|
||||
Baidu_AK: "YCmfZSw54O992lChzS3c4roYioitT54h"
|
||||
]
|
||||
}
|
||||
|
||||
Aigo1071Debug.initWith(debug)
|
||||
Aigo1071Debug {
|
||||
versionNameSuffix "-debug"
|
||||
@@ -213,7 +241,7 @@ android {
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
if (outputFile != null) {
|
||||
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
|
||||
}
|
||||
}
|
||||
@@ -233,7 +261,7 @@ android {
|
||||
variant.outputs.each { output ->
|
||||
def outputFile = ""
|
||||
if (outputFile != null) {
|
||||
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