diff --git a/briar-android/build.gradle b/briar-android/build.gradle index d9e6559b4..adfbdaa3b 100644 --- a/briar-android/build.gradle +++ b/briar-android/build.gradle @@ -169,7 +169,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()