mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-04 18:09:32 +01:00
Use full class name for Grgit.
Because it apparently sometimes fails otherwise.
This commit is contained in:
parent
6db2df4e29
commit
c2054615db
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user