Update build.gradle
This commit is contained in:
parent
ba120b1e0b
commit
3ea1ed02ae
@ -14,10 +14,12 @@ def gitVersion() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def versionCodeFromGit() {
|
def versionCodeFromGit() {
|
||||||
|
println "version code [$gitVersion().toInteger()]"
|
||||||
return gitVersion().toInteger()
|
return gitVersion().toInteger()
|
||||||
}
|
}
|
||||||
|
|
||||||
def versionNameFromGit() {
|
def versionNameFromGit() {
|
||||||
|
println "version code [$gitVersion()trim()]"
|
||||||
return gitVersion().trim()
|
return gitVersion().trim()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user