replace Integer.parseInt with BigInteger so that you can use longer Android version codes

I used to have DNS like version codes (YYYYmmmddXX format) for my apps builds, and I can't go back in older apps because Google Play wont allow me to upload inferior version codes, so I thing we should to use BigInteger instead of Integer.parseInt

This closes #298
This commit is contained in:
Pierre-Alexis de Solminihac
2016-04-22 19:10:49 +02:00
committed by Joe Bowser
parent d2a159d2dc
commit 23fd0982b0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ def doExtractIntFromManifest(name) {
def pattern = Pattern.compile(name + "=\"(\\d+)\"")
def matcher = pattern.matcher(manifestFile.getText())
matcher.find()
return Integer.parseInt(matcher.group(1))
return new BigInteger(matcher.group(1))
}
def doExtractStringFromManifest(name) {