-
Notifications
You must be signed in to change notification settings - Fork 172
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
Set Java11 as minimal version #1151
Set Java11 as minimal version #1151
Conversation
0835ffd
to
75b048b
Compare
Should we create a "Breaking changes" section in the CHANGELOG? I think it'd make the release notes much more simple when the time comes. |
75b048b
to
38e22bc
Compare
Running tests in my repo to see if we can find a workaround for the Windows+Java17 issue. |
* Remove use of 'task.options.release' for Java version configuration in favour of Gradle's preferrs 'toolchain'. * Removed Java 8 from pipelines. * Bump Gradle to latest v8.0.2 * Remove use of 'io.spring.dependency-management' Gradle plugin in 'spring-boot' app in favor of Gradle's BOM support. This reduces maintenance since only Boot version needs to be updated. Fixes asciidoctor#1150 Remove unnecessary configurations
38e22bc
to
fd8d730
Compare
Fixed the issue by forcing the toolchain version manually on Windows builds ONLY. It's sad but simple enough that with a simple comment, we can monitor it and remove it if it ever gets fixed. I am also keeping it in a separate commit, since AsciidoctorJ uses "merge pr" that will also make things easier to track. Since the release pipeline runs already on Java 11, there won't compatibility issues. The release will be 100% J11 binary. |
fd8d730
to
4a64e3a
Compare
4a64e3a
to
b7b307f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's such a privilege having someone from Tanzu collaborating :)
Kind of change
Description
What is the goal of this pull request?
Remove support for Java 8 and set 11 as de minimal version.
Java8 is EOL and I don't think we should promote using it.
How does it achieve that?
Also:
Are there any alternative ways to implement this?
task.options.release
still works, but Gradle docs suggest using the new toolchain configuration as this is the "preferred".Are there any implications of this pull request? Anything a user must know?
Users using Java 8 should stay in 2.5.x until they upgrade their apps.
Issue
If this PR fixes an open issue, please add a line of the form:
Fixes #1150
Release notes
Please add a corresponding entry to the file CHANGELOG.adoc