From c2054615dbdf0791b2f04b0db597a5e42e8bdf19 Mon Sep 17 00:00:00 2001 From: wizjany Date: Sat, 16 Jan 2016 23:19:43 -0500 Subject: [PATCH] Use full class name for Grgit. Because it apparently sometimes fails otherwise. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 7103b3f3..dacedcc2 100644 --- a/build.gradle +++ b/build.gradle @@ -38,7 +38,7 @@ if (!project.hasProperty("gitCommitHash")) { try { - def repo = Grgit.open(project.file('.')) + def repo = org.ajoberstar.grgit.Grgit.open(project.file('.')) ext.gitCommitHash = repo.head().abbreviatedId } catch (Exception e) { ext.gitCommitHash = "no_git_id"