打包名称修改
This commit is contained in:
@@ -36,7 +36,7 @@ android {
|
|||||||
variant ->
|
variant ->
|
||||||
variant.outputs.all {
|
variant.outputs.all {
|
||||||
def date = new Date().format("MMddHHmm", TimeZone.getTimeZone("GMT+08"))
|
def date = new Date().format("MMddHHmm", TimeZone.getTimeZone("GMT+08"))
|
||||||
outputFileName = "yinyou_" + buildType.name + "_v${Boolean.parseBoolean(with_jenkins) ? "" : (defaultConfig.versionName + "-" + date)}.apk"
|
outputFileName = "yinyou_${buildType.name}_${channel}_v${defaultConfig.versionName}-${date}.apk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -184,10 +184,12 @@ android {
|
|||||||
productFlavors {
|
productFlavors {
|
||||||
accompany {
|
accompany {
|
||||||
dimension 'default'
|
dimension 'default'
|
||||||
|
manifestPlaceholders = [CHANNEL_VALUE: channel]
|
||||||
}
|
}
|
||||||
|
|
||||||
oppo {
|
oppo {
|
||||||
dimension 'default'
|
dimension 'default'
|
||||||
|
manifestPlaceholders = [CHANNEL_VALUE: channel]
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -93,7 +93,7 @@
|
|||||||
|
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="CHANNEL"
|
android:name="CHANNEL"
|
||||||
android:value="official" />
|
android:value="${CHANNEL_VALUE}" />
|
||||||
|
|
||||||
<!-- 刘海屏适配 begin -->
|
<!-- 刘海屏适配 begin -->
|
||||||
<!-- 小米 -->
|
<!-- 小米 -->
|
||||||
|
@@ -22,3 +22,5 @@ version_code=330
|
|||||||
|
|
||||||
with_flutter_aar=true
|
with_flutter_aar=true
|
||||||
with_jenkins=false
|
with_jenkins=false
|
||||||
|
|
||||||
|
channel=official
|
||||||
|
Reference in New Issue
Block a user