Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
apk_product
/
ForFun
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
5ade89ca
...
5ade89caa724da3f697436181037d8f85ef335f0
authored
2020-07-02 14:19:42 +0800
by
hu.guorui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
打包APK文件名修改
1 parent
bd59cb23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build.gradle
build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build.gradle
View file @
5ade89c
...
...
@@ -143,6 +143,14 @@ android.applicationVariants.all { variant ->
into
outputDir
}
}
variant
.
outputs
.
all
{
outputFileName
=
"ForFun_FJ_CMCC_v${variant.versionName}_${releaseTime()}_${variant.buildType.name}.apk"
}
}
def
releaseTime
()
{
return
new
Date
().
format
(
"yyyyMMddHHmm"
,
TimeZone
.
getTimeZone
(
"GMT+08:00"
))
}
dependencies
{
...
...
Please
register
or
sign in
to post a comment