1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-11-13 07:15:28 +03:00
This commit is contained in:
Anuken 2020-10-09 16:42:00 -04:00
parent 532263b417
commit 9f28750063

View File

@ -76,7 +76,7 @@ android{
targetSdkVersion 29
versionName versionNameResult
versionCode = (System.getenv("CI") == "true" ? System.getenv("TRAVIS_BUILD_ID").toInteger() : vcode)
versionCode = (System.getenv("TRAVIS_BUILD_ID") != null ? System.getenv("TRAVIS_BUILD_ID").toInteger() : vcode)
if(project.hasProperty("release")){
props['androidBuildCode'] = (vcode + 1).toString()