gradle: fix "repository not found" (#1309)
Fixes: "repository not found: C:\Users\name\.gradle\daemon\5.5.1.git"
This commit is contained in:
@@ -17,7 +17,7 @@ plugins {
|
||||
apply plugin: 'application'
|
||||
|
||||
ext {
|
||||
grgit = org.ajoberstar.grgit.Grgit.open(dir: '.')
|
||||
grgit = org.ajoberstar.grgit.Grgit.open(dir: "${rootProject.projectDir}")
|
||||
localGitCommit = grgit.head().id
|
||||
localGitCommitShort = grgit.head().getAbbreviatedId(7)
|
||||
localGitDirty = !grgit.status().clean
|
||||
|
||||
Reference in New Issue
Block a user