Upgrade Gradle from 8.5 to 9.7.1 - #1813
Merged
Merged
Conversation
Required companion upgrades: - Kotlin plugin 2.1.21 -> 2.4.10, as 2.1.x has no JVM target 26 - org.beryx.jlink 3.1.1 -> 4.1.1 for Gradle 9 compatibility - archunit-junit5 1.3.0 -> 1.5.0, as 1.3.0 cannot read class file major version 70, which silently made every ArchUnit rule fail as empty - testcontainers 1.21.4, as 1.21.0 pins Docker API version 1.32 and Docker 29 requires at least 1.40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Upgrades the Gradle wrapper from 8.5 to 9.7.1. The wrapper files (
gradlew,gradlew.bat, the wrapper jar and properties) are regenerated by./gradlew wrapper --gradle-version 9.7.1.Four companion upgrades were required to get a working build:
org.beryx.jlink3.1.1 -> 4.1.1 for Gradle 9 compatibility.Could not find a valid Docker environment.Verification
./gradlew buildsucceeds. All 4971 tests pass, including the MongoDB testcontainers tests../gradlew jlinksucceeds and produces the image.Gradle reports remaining deprecations that are scheduled for removal in Gradle 10 (multi-string dependency notation,
by project/by extradelegates,tasks.create). They all still work in 9.x and are left alone here to keep this change focused.