Use full class name for Grgit.

Because it apparently sometimes fails otherwise.
This commit is contained in:
wizjany 2016-01-16 23:19:43 -05:00
parent 6db2df4e29
commit c2054615db

View File

@ -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"