1.4.0103 更换图标,G10P 标签MTK11改为G104,G10P标签为G10P

This commit is contained in:
2024-01-04 11:35:08 +08:00
parent f3564fb0f5
commit 99b0de6007
42 changed files with 93 additions and 23 deletions

View File

@@ -28,7 +28,7 @@ def appName() {
}
def releaseTime() {
return new Date().format("yyyyMMdd", TimeZone.getDefault())
return new Date().format("yyyyMMdd_HHmmss", TimeZone.getDefault())
}
final String ANDROID_TOP = "${rootDir}"
@@ -71,8 +71,8 @@ android {
// versionName "2.3.9"
//cube
versionCode 81
versionName "6.4.1"
versionCode 100
versionName "1.4.0103"
ndk {
//选择要添加的对应 cpu 类型的 .so 库。
@@ -152,19 +152,55 @@ android {
v1SigningEnabled true
v2SigningEnabled true
}
teclast8183 {
storeFile file("src/doc/TeclastMTK12.jks")
storePassword "123456"
keyAlias "TeclastMTK12"
keyPassword "123456"
v2SigningEnabled false
}
}
buildTypes {
c2Debug.initWith(debug)
c2Debug {
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.teclast8183
buildConfigField "String", "platform", '"MTK8183"'
}
c2Release.initWith(release)
c2Release {
signingConfig signingConfigs.teclast8183
buildConfigField "String", "platform", '"MTK8183"'
}
G10PDebug.initWith(debug)
G10PDebug {
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.G10P
buildConfigField "String", "platform", '"G10P"'
}
G10PRelease.initWith(release)
G10PRelease {
signingConfig signingConfigs.G10P
buildConfigField "String", "platform", '"G10P"'
}
G104Debug.initWith(debug)
G104Debug {
buildConfigField "String", "platform", '"MTK11"'
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.G10P
}
G10PRelease.initWith(release)
G10PRelease {
G104Release.initWith(release)
G104Release {
buildConfigField "String", "platform", '"MTK11"'
signingConfig signingConfigs.G10P
}
@@ -247,7 +283,7 @@ android {
variant.outputs.each { output ->
def outputFile = output.outputFile
if (outputFile != null) {
def fileName = "${appName()}-${variant.versionCode}-V${variant.versionName}-${releaseTime()}-${productFlavors[0].name}.apk"
def fileName = "${appName()}_${variant.versionCode}_V${variant.versionName}_${releaseTime()}_${productFlavors[0].name}.apk"
output.outputFileName = fileName
}
}
@@ -269,7 +305,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()}_${productFlavors[0].name}_${buildType.name}.apk"
output.outputFileName = fileName
}
}