version:2.0.7
update:更新全局更新按照平台更新,获取app是哪个平台 fix:应用app信息不能上传, add:
This commit is contained in:
@@ -41,9 +41,9 @@ android {
|
||||
//新平台正式
|
||||
newly {
|
||||
flavorDimensions "default"
|
||||
versionCode 506
|
||||
versionCode 507
|
||||
//versionCode 1037
|
||||
versionName "2.0.6"
|
||||
versionName "2.0.7"
|
||||
/*********************************极光推送************************************/
|
||||
manifestPlaceholders = [
|
||||
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
||||
@@ -117,7 +117,7 @@ android {
|
||||
|
||||
//签名
|
||||
signingConfigs {
|
||||
zhanxun {
|
||||
zhanRui {
|
||||
storeFile file("keystore/zhanxun.keystore")
|
||||
storePassword "123456"
|
||||
keyAlias "zhanxun"
|
||||
@@ -146,24 +146,37 @@ android {
|
||||
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
zhanxun {
|
||||
debuggable true
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
zipAlignEnabled true
|
||||
signingConfig signingConfigs.zhanxun
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
def outputFile = output.outputFile
|
||||
if (outputFile != null) {
|
||||
def fileName = "${appName()}-${variant.versionCode}-V${variant.versionName}-${releaseTime()}-${buildType.name}.apk"
|
||||
output.outputFileName = fileName
|
||||
}
|
||||
}
|
||||
}
|
||||
// Disable release builds for now
|
||||
android.variantFilter { variant ->
|
||||
if (variant.buildType.name.endsWith('zhanRuiRelease')) {
|
||||
variant.setIgnore(variant.getFlavors().get(0).name.equals('official')||variant.getFlavors().get(0).name.equals('zhongyou'))
|
||||
}
|
||||
|
||||
if (variant.buildType.name.endsWith('zhanRuiDebug')) {
|
||||
variant.setIgnore(variant.getFlavors().get(0).name.equals('official')||variant.getFlavors().get(0).name.equals('zhongyou'))
|
||||
}
|
||||
// // Icon recents is Go only
|
||||
// if (name.contains("WithQuickstepIconRecents") && !name.contains("l3go")) {
|
||||
// variant.setIgnore(true)
|
||||
// }
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
zhanRuiRelease.initWith(release)
|
||||
zhanRuiRelease {
|
||||
buildConfigField "String", "platform", '"ZhanRui"'
|
||||
signingConfig signingConfigs.zhanRui
|
||||
}
|
||||
|
||||
zhanRuiDebug.initWith(debug)
|
||||
zhanRuiDebug {
|
||||
buildConfigField "String", "platform", '"ZhanRui"'
|
||||
debuggable true
|
||||
signingConfig signingConfigs.zhanRui
|
||||
}
|
||||
|
||||
debug {
|
||||
buildConfigField "String", "platform", '"MTK"'
|
||||
// 不显示Log
|
||||
//buildConfigField "boolean", "LOG_DEBUG", "false"
|
||||
//
|
||||
@@ -183,7 +196,9 @@ android {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
release {
|
||||
buildConfigField "String", "platform", '"MTK"'
|
||||
//混淆
|
||||
minifyEnabled false
|
||||
//前一部分代表系统默认的android程序的混淆文件,该文件已经包含了基本的混淆声明,后一个文件是自己的定义混淆文件
|
||||
|
||||
Reference in New Issue
Block a user