Repository navigation
Upgrade Gradle to 9.9.2 - #28
Merged
Merged
Conversation
The way bin/gradle-upgrade.sh in xvm upgrades a wrapper: the wrapper task, run twice, keeps the wrapper's policy (retries, timeout, URL validation), and only distributionUrl changes. The wrapper jar is unchanged; its SHA-256 matches Gradle's published gradle-9.9.2-wrapper.jar.sha256. gradle-daemon-jvm.properties is refreshed with updateDaemonJvm for JDK 25, whose builds are newer. No 9.9.1 is left in the repository. 9.9.2 is a patch release of 9.9: it fixes two regressions, a slow missing-dependency check for producers in included builds (gradle/gradle#39729) and plugin resolution against a repository that answers a plugin marker jar with 401 (gradle/gradle#39756), and speeds up configuration-cache codecs.
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.
Updates the Gradle wrapper from 9.9.1 to 9.9.2, with the same steps as the 9.9.1 upgrade (#27) and the same as xvm's
bin/gradle-upgrade.sh. 9.9.2 is a patch release of 9.9:Gradle 9.9.2
gradle/wrapper/: the distribution URL is nowgradle-9.9.2-bin.zip. The wrapper was regenerated with./gradlew wrapper --gradle-version 9.9.2 --distribution-type bin, run twice.gradlewandgradlew.batare unchanged, and the wrapper keeps its retry policy.gradle/gradle-daemon-jvm.properties: refreshed with./gradlew updateDaemonJvm --jvm-version 25. Several JDK 25 builds are newer.9.9.1is left in the repository.9.9.2 adds no deprecation or behavior change to the 9.9 upgrade guide that #27 went through. CI actions are already on their latest major versions.
Verification
Against the remote
0.4.4-SNAPSHOTplugin and XDK (-Dmaven.repo.local=<empty dir>, so no local snapshot masks anything):./gradlew clean, then./gradlew build installDist --rerun-tasks --no-build-cache --warning-mode=all: BUILD SUCCESSFUL, with no deprecation warnings. StubTest passes 4 (failed=0, skipped=0).master(9.9.1), a build of the same tasks with--warning-mode=all, without--rerun-tasks, printed no warning either.build installDistreuses the configuration cache.The Docker image was not built locally.