Bump gradle wrapper version to 8.2.1 #1341
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bump the gradle wrapper version to 8.2.1 (latest as of July 10, 2023 - https://gradle.org/releases/)
This will enable support up through JDK 20 yet. (Note JDK 21 LTS is also right around the corner.) (An earlier version of this said JDK 20 was not yet supported, that was a mistake I'm not sure why I thought that)
Gradle/JDK compatibility is described here: https://docs.gradle.org/current/userguide/compatibility.html
Also see the JDK support matrix at https://endoflife.date/java
The changes to build.gradle are required to get past some errors, I guess they changed the gradle DSL:
I tested this with Docker, across JDKs 11, 16, 17, 18, 19, and 20. For posterity:
Dockerfile:
Script to build and run it for the various java versions: