Fixed an issue with the version code generation.
This commit is contained in:
@ -20,7 +20,7 @@ def gitVersion() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def versionCodeFromGit() {
|
def versionCodeFromGit() {
|
||||||
def versionCode = gitVersion() + (ext.configuration.buildDate.format("SSssmm")).toInteger()
|
def versionCode = gitVersion() + (ext.configuration.buildDate.format("yyMd")).toInteger()
|
||||||
println "version code " + versionCode
|
println "version code " + versionCode
|
||||||
return versionCode.toInteger()
|
return versionCode.toInteger()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user