Fixed an issue with the version code generation.

This commit is contained in:
Amine Bou 2017-12-05 20:34:00 +01:00
parent 3bf1d7c4f9
commit c70e80758c

View File

@ -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()
} }