Skip to content

Upgrade Gradle to 9.9.2 - #28

Merged
lagergren merged 1 commit into
masterfrom
gradle-9.9.2-upgrade
Nov 23, 2026
Merged

lagergren merged 1 commit into
masterfrom
gradle-9.9.2-upgrade

Conversation

@lagergren

@lagergren lagergren commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

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 now gradle-9.9.2-bin.zip. The wrapper was regenerated with ./gradlew wrapper --gradle-version 9.9.2 --distribution-type bin, run twice.
    • The jar is unchanged, and its SHA-256 matches the published 9.9.2 wrapper checksum.
    • gradlew and gradlew.bat are 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.
  • No 9.9.1 is 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-SNAPSHOT plugin 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).
  • On master (9.9.1), a build of the same tasks with --warning-mode=all, without --rerun-tasks, printed no warning either.
  • A second build installDist reuses the configuration cache.

The Docker image was not built locally.

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.
@lagergren
lagergren merged commit 07a9391 into master Nov 23, 2026
1 check passed
@lagergren
lagergren deleted the gradle-9.9.2-upgrade branch November 23, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant