Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Fix jgit jdk8 compatibility issue (#36)
Browse files Browse the repository at this point in the history
Description
===========

This patch updates `grgit-core` to patch `4.1.1` which limits the
version range of `jgit` to latest major version `5`. This allows
this plugin to be used with jdk8 still. I also had to add an
force resolution of `grgit-core:4.1.1` because the buildscript
pulls a version of this plugin into the classpath. This should later
be saved to remove

Changes
=======

* ![FIX] `jgit` jdk8 compatibility issue
  • Loading branch information
Larusso authored Dec 3, 2021
1 parent 55ce87b commit 21d9ba1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
* limitations under the License.
*
*/
buildscript {
configurations.all {
resolutionStrategy {
force 'org.ajoberstar.grgit:grgit-core:4.1.1'
}
}
}

plugins {
id 'net.wooga.plugins' version '2.2.0'
Expand Down Expand Up @@ -44,7 +51,7 @@ github {

dependencies {
compile 'com.github.zafarkhaja:java-semver:0.9.0'
compile 'org.ajoberstar.grgit:grgit-core:4.1.0'
compile 'org.ajoberstar.grgit:grgit-core:4.1.1'
compile 'com.google.guava:guava:23.0'
testCompile 'com.github.stefanbirkner:system-rules:1.18.0'
}
Expand Down

0 comments on commit 21d9ba1

Please sign in to comment.