Update build.gradle

This commit is contained in:
Amine Bou 2017-07-30 19:01:05 +02:00 committed by GitHub
parent 3ea1ed02ae
commit d0675b8443

View File

@ -14,12 +14,12 @@ def gitVersion() {
}
def versionCodeFromGit() {
println "version code [$gitVersion().toInteger()]"
println "version code " + gitVersion().toInteger()
return gitVersion().toInteger()
}
def versionNameFromGit() {
println "version code [$gitVersion()trim()]"
println "version code " + gitVersion().trim()
return gitVersion().trim()
}