Allow setting versionCode in parameter (#276)

Allow easier debug versionCode change
This commit is contained in:
Jozef Hollý 2016-04-23 13:17:48 +02:00 committed by inorichi
parent b83efd90a8
commit cb58145361

View file

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