diff --git a/core/build.gradle b/core/build.gradle index 70793f546b..248a0b40e9 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -212,7 +212,7 @@ dependencies { def gitRevision() { def gitRev = System.getenv('GIT_HEAD') - return gitRev != null ? gitRev : "git rev-parse HEAD | tr -d '[\n]'".execute().text + return gitRev != null ? gitRev : "git rev-parse HEAD".execute().text } compileJava.options.compilerArgs = ['-Xlint:deprecation', '-Xlint:unchecked']