Fixed an issue with the version code generation.
This commit is contained in:
parent
3bf1d7c4f9
commit
c70e80758c
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user