diff --git a/app/build.gradle b/app/build.gradle index 62e12f0..3a4931c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -20,7 +20,7 @@ def gitVersion() { } def versionCodeFromGit() { - def versionCode = gitVersion() + (ext.configuration.buildDate.format("yyMMdd")).toInteger() + def versionCode = gitVersion() + (ext.configuration.buildDate.format("yyMMD")).toInteger() println "version code " + versionCode return versionCode.toInteger() }