diff --git a/build.gradle b/build.gradle index 4c2be869bab7..24472af6c7ba 100644 --- a/build.gradle +++ b/build.gradle @@ -40,14 +40,7 @@ buildscript { classpath "com.github.alisiikh:gradle-scalastyle-plugin:3.5.0" classpath 'com.palantir.gradle.revapi:gradle-revapi:1.7.0' classpath 'com.gorylenko.gradle-git-properties:gradle-git-properties:2.4.1' - classpath 'com.palantir.gradle.gitversion:gradle-git-version:1.0.0' - classpath ('org.eclipse.jgit:org.eclipse.jgit') { - // gradle-git-version automatically uses a jgit version that requires JDK11 - // so we need to enforce the latest jgit version that works with JDK8 - version { - strictly('5.13.1.202206130422-r') - } - } + classpath 'com.palantir.gradle.gitversion:gradle-git-version:3.0.0' } }