diff --git a/briar-android/build.gradle b/briar-android/build.gradle index b1c7e21ad..e3cb1ca4b 100644 --- a/briar-android/build.gradle +++ b/briar-android/build.gradle @@ -170,7 +170,7 @@ def getGitHash = { -> def stdout = new ByteArrayOutputStream() try { exec { - commandLine 'git', 'rev-parse', '--short', 'HEAD' + commandLine 'git', 'rev-parse', '--short=7', 'HEAD' standardOutput = stdout } return stdout.toString().trim()