-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 2.3.1
stopped working with Java 8
#195
Comments
Here is a workaround to force the transitive version of JGit used by the plugin: Kotlin Script buildscript {
dependencies {
"classpath"("org.eclipse.jgit:org.eclipse.jgit:5.13.0.202109080827-r") {
isForce = true
}
}
} Groovy buildscript {
dependencies {
classpath 'org.eclipse.jgit:org.eclipse.jgit:5.13.0.202109080827-r' {
force = true
}
}
} |
I have the same problem.I found a new version:2.4.0-rc1 in https://plugins.gradle.org/. It seems to be working but i am not sure the 2.4.0-rc1 Version is available. |
I have the same issue with version 2.2.4. |
|
I have updated my snippet above to provide both Kotlin Script and Groovy. |
it also works like this
thanks you @gotson |
with Gradle 5 configurations.all { |
The previous version breaks on Java8 n0mer/gradle-git-properties#195
with Gradle 7.3
|
… with 99bc85d and gradle plugin gradle-git-properties). Not sure when, but just started giving error on the CI. See n0mer/gradle-git-properties#195.
Version 2.3.2 (based on 2.3.1 tag) has been published with the fix from @KENNYSOFT |
Version 2.4.0-rc2 (based on master) has been published with the fix from @KENNYSOFT |
Hi @KENNYSOFT , |
Fixes n0mer/gradle-git-properties#195 that breaks CI build
The old version was not compatible with Java 8. See n0mer/gradle-git-properties#195
Fixes n0mer/gradle-git-properties#195 that breaks CI build
Suddenly my project throws this exception when running with Java 8. It works fine with Java 11.
Version
2.3.1
has not been updated recently, so i'm not sure what's going on.The text was updated successfully, but these errors were encountered: