From 20628f4676fc4c5719d208a3cedc60585f4501c1 Mon Sep 17 00:00:00 2001
From: Jacob G <jhg023@bucknell.edu>
Date: Tue, 7 Jan 2020 18:23:48 -0500
Subject: [PATCH] Update grgit-core dependency version

I use `gradle-git-properties` in a project of mine, and I ran into an issue that can only be solved by updating the `grgit-core` dependency version to `6.0.1`.

The issue is that version `3.1.1` of `grgit-core` currently depends on an outdated version of `org.eclipse.jgit`, which is breaking my project with the following message:

    Execution failed for task ':generateGitProperties'.
       > No signature of method: org.eclipse.jgit.api.DescribeCommand.setTags() is applicable for argument types: (Boolean) values: [false]
       Possible solutions: setLong(boolean), setTarget(java.lang.String), setTarget(org.eclipse.jgit.lib.ObjectId), getClass(),
           equals(java.lang.Object)

I believe that this upgrade will fix my issue, as well as possibly #140
---
 build.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index 895fa3c..4bb8ba0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -35,7 +35,7 @@ repositories {
 dependencies {
     compile gradleApi()
     compile localGroovy()
-    compile 'org.ajoberstar.grgit:grgit-core:3.1.1'
+    compile 'org.ajoberstar.grgit:grgit-core:4.0.1'
     // for debugging
     //compile 'org.gradle:gradle-language-jvm:5.6.2'
     //compile 'org.gradle:gradle-language-java:5.6.2'
@@ -44,7 +44,7 @@ dependencies {
     testCompile 'junit:junit:4.12'
 }
 
-version = "2.2.0"
+version = "2.2.1"
 group = "com.gorylenko.gradle-git-properties"
 
 gitProperties {