Different Android version code system

This commit is contained in:
Anuken 2020-10-09 16:19:58 -04:00
parent 8d738c31e7
commit 532263b417

View File

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