Update build.gradle

This commit is contained in:
Amine Bou 2017-07-30 18:58:36 +02:00 committed by GitHub
parent ba120b1e0b
commit 3ea1ed02ae

View File

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