Repo created
This commit is contained in:
parent
81b91f4139
commit
f8c34fa5ee
22732 changed files with 4815320 additions and 2 deletions
19
utils.gradle
Normal file
19
utils.gradle
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
def getVersionName = {
|
||||
return APP_VERSION_NAME + "." + ADDITIONAL_BUILD_NUMBER
|
||||
}
|
||||
|
||||
def getVersionCode = {
|
||||
return (APP_VERSION_CODE.toInteger() * 10 + ADDITIONAL_BUILD_NUMBER.toInteger()) + ""
|
||||
}
|
||||
|
||||
def isFdroid = {
|
||||
return ((F_DROID.toInteger() == 1) as Boolean)
|
||||
}
|
||||
|
||||
ext {
|
||||
Utils = [:]
|
||||
Utils['getVersionName'] = getVersionName
|
||||
Utils['getVersionCode'] = getVersionCode
|
||||
Utils['isFdroid'] = isFdroid
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue