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"