添加log.
This commit is contained in:
@@ -117,7 +117,7 @@ android {
|
||||
def versionName = variant.versionName
|
||||
def versionCode = variant.versionCode
|
||||
// 获取当前时间戳(格式:yyyyMMddHHmmss)
|
||||
def buildTimes = new Date().format("yyyy-MM-dd-HH")
|
||||
def buildTimes = new Date().format("yyyy-MM-dd-HH-mm")
|
||||
def fileName = "羽声_${versionName}_${versionCode}_${buildTimes}.apk"
|
||||
output.outputFileName = fileName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user