Auto number of latest release, shorter versionCode (#280)

This commit is contained in:
Jozef Hollý 2016-04-27 22:18:36 +02:00 committed by inorichi
parent 270cacb1d7
commit 2e6fc70353
3 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ android {
minSdkVersion 16
targetSdkVersion 23
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
versionCode project.getProperties().get("versionCode")?.toInteger() ?: 7
versionCode project.findProperty('versionCode')?.toInteger() ?: 7
versionName "0.2.1"
buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\""