Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pangcong Git
wckh
Commits
005ae882
Commit
005ae882
authored
May 29, 2025
by
pangcong Git
Browse files
修改输出apk文件名,修改版本号,存储历史apk文件
parent
ef6b2d1c
Changes
2
Show whitespace changes
Inline
Side-by-side
apk/com.citicsf.csp.pad.uat-v2.1.0-0529_0925.apk
0 → 100644
View file @
005ae882
File added
app/build.gradle
View file @
005ae882
...
...
@@ -49,8 +49,8 @@ android {
sit
{
applicationId
"com.citicsf.csp.pad.sit"
versionCode
2
0
1
versionName
"2.
0.1
"
versionCode
21
0
versionName
"2.
1.0
"
minSdkVersion
24
targetSdkVersion
28
manifestPlaceholders
=
[
app_name:
"外出开户SIT"
,
icon:
"@mipmap/ic_launcher_zxqh"
,
bdkey:
"ixVXFlhEFLSAXtA2IVeNF0CNw2chONRQ"
,
screenOrientation:
"landscape"
]
...
...
@@ -62,8 +62,8 @@ android {
uat
{
applicationId
"com.citicsf.csp.pad.uat"
versionCode
2
0
1
versionName
"2.
0.1
"
versionCode
21
0
versionName
"2.
1.0
"
minSdkVersion
24
targetSdkVersion
28
manifestPlaceholders
=
[
app_name:
"外出开户UAT"
,
icon:
"@mipmap/ic_launcher_zxqh"
,
bdkey:
"ixVXFlhEFLSAXtA2IVeNF0CNw2chONRQ"
,
screenOrientation:
"landscape"
]
...
...
@@ -75,8 +75,8 @@ android {
sim
{
applicationId
"com.citicsf.csp.pad.sim"
versionCode
2
0
1
versionName
"2.
0.1
"
versionCode
21
0
versionName
"2.
1.0
"
minSdkVersion
24
targetSdkVersion
28
manifestPlaceholders
=
[
app_name:
"外出开户SIM"
,
icon:
"@mipmap/ic_launcher_zxqh"
,
bdkey:
"ixVXFlhEFLSAXtA2IVeNF0CNw2chONRQ"
,
screenOrientation:
"landscape"
]
...
...
@@ -97,7 +97,7 @@ android {
android
.
applicationVariants
.
all
{
variant
->
variant
.
outputs
.
all
{
output
->
def
fileName
=
variant
.
productFlavors
[
0
].
applicationId
+
"-"
+
buildType
.
name
+
"-v"
+
variant
.
productFlavors
[
0
].
versionName
+
"-"
+
variant
.
productFlavors
[
0
].
versionCode
+
".apk"
;
def
fileName
=
variant
.
productFlavors
[
0
].
applicationId
+
"-v"
+
variant
.
productFlavors
[
0
].
versionName
+
"-"
+
releaseTime
()
+
".apk"
;
outputFileName
=
fileName
;
}
}
...
...
@@ -154,7 +154,9 @@ android {
}
}
}
static
def
releaseTime
()
{
return
new
Date
().
format
(
"MMdd_HHmm"
,
TimeZone
.
default
)
}
dependencies
{
// androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
// exclude group: 'com.android.support', module: 'support-annotations'
...
...
@@ -192,4 +194,6 @@ dependencies {
implementation
project
(
path:
':market_zxqh'
)
implementation
'com.elvishew:xlog:1.11.1'
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment