From 67736bfbcabcccf359983ee53fdf1eabe95cf8f4 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Tue, 21 Apr 2020 08:28:22 +0100 Subject: [PATCH] git object is actually needed in Core build --- build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) 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