Allow setting versionCode in parameter (#276)
Allow easier debug versionCode change
This commit is contained in:
parent
b83efd90a8
commit
cb58145361
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ android {
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 23
|
targetSdkVersion 23
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
versionCode 6
|
versionCode project.getProperties().get("versionCode")?.toInteger() ?: 6
|
||||||
versionName "0.2.0"
|
versionName "0.2.0"
|
||||||
|
|
||||||
buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\""
|
buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\""
|
||||||
|
|
Reference in a new issue