-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Fail with a useful error message if Gradle is run on JDK < 24 #46818
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
Conversation
If the JDK version used to compile the software is not compatible with Java 24, the build fails fast with a hint what has gone wrong. This check happens on the 'projectsLoaded' hook. Fix spring-projectsgh-46625 Signed-off-by: BenchmarkingBuffalo <46448799+BenchmarkingBuffalo@users.noreply.github.com>
c8e9242 to
a6705d5
Compare
|
@BenchmarkingBuffalo thanks for the PR but we'd like to explore another route. I'll update the linked issue accordingly. |
|
Hey @BenchmarkingBuffalo , after some consideration we're happy to accept the pull request. Sorry for the confusion and thanks for your help! |
See gh-46818 Signed-off-by: BenchmarkingBuffalo <46448799+BenchmarkingBuffalo@users.noreply.github.com>
|
This unfortunately seems to break Eclipse. I'm going to revert it until I have a bit more time to investigate. |
|
I am going to close this one as we have a duplicate PR already. |
If the JDK version used to compile the software is not compatible with Java 24, the build fails fast with a hint what has gone wrong. This check happens on the
projectsLoadedhook.Fix #46625