mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-23 11:38:55 +02:00
Auto number of latest release, shorter versionCode (#280)
This commit is contained in:
@@ -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()}\""
|
||||
|
Reference in New Issue
Block a user