diff --git a/build.gradle b/build.gradle index 787e878ac..3c34f233a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,5 @@ +import org.ajoberstar.grgit.Grgit + buildscript { repositories { mavenCentral() @@ -23,6 +25,10 @@ plugins { group = "com.plotsquared" +ext { + git = Grgit.open(dir: new File(rootDir.toString() + "/.git")) +} + version = "5.10.0" description = rootProject.name