From cb58145361d66bd750ec046a2c915ddc820bd453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Holl=C3=BD?= Date: Sat, 23 Apr 2016 13:17:48 +0200 Subject: [PATCH] Allow setting versionCode in parameter (#276) Allow easier debug versionCode change --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index cb7bff0d15..151791b144 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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()}\""