diff --git a/app/build.gradle b/app/build.gradle index 2c57bb75f..160f1add2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -19,7 +19,7 @@ apply plugin: 'com.android.application' // query git for the the SHA, Tag and commit count. Use these to automate versioning. def gitSha = 'git rev-parse --short HEAD'.execute([], project.rootDir).text.trim() def gitTag = 'git describe --tags'.execute([], project.rootDir).text.trim() -def gitCommitCount = +def gitCommitCount = 100 + Integer.parseInt('git rev-list --count HEAD'.execute([], project.rootDir).text.trim()) android {