Skip to content

Upgrade Gradle to 9.9.1 - #12

Merged
lagergren merged 1 commit into
masterfrom
gradle-9.9.1-upgrade
Nov 10, 2026
Merged

lagergren merged 1 commit into
masterfrom
gradle-9.9.1-upgrade

Conversation

@lagergren

Copy link
Copy Markdown
Contributor

Updates the Gradle wrapper from 9.8.2 to 9.9.1, following the same steps as the 9.8.x upgrades and matching xtclang/xvm#766. 9.9.1 is the 9.9.0 feature set plus fixes for three security vulnerabilities in 9.9.0 (version catalog values run as code in generated accessors, and two daemon registry trust issues).

Gradle 9.9.1

  • gradle/wrapper/: distribution URL bumped to gradle-9.9.1-bin.zip. Wrapper regenerated with ./gradlew wrapper --gradle-version 9.9.1 --distribution-type bin, run twice. The jar's SHA-256 (621008af…) matches the published 9.9.1 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. The macOS and Windows JDK 25 builds are newer; the file now matches xvm's.

I went through the 9.8 → 9.9 upgrade guide: the Ant integration and implicit Ant classes on the build script classpath (for example ReplaceTokens filters), Kotlin DSL zipTo/unzipTo, service injection into value source parameters, the temporary Configuration Cache opt-out properties, non-required plugin versions in the version catalog, the legacy lock file format, required input files with absent nested providers, and running Gradle outside a project directory. None of these apply to this build. CI actions are already on the same major versions as xvm.

Verification

  • ./gradlew --version: Gradle 9.9.1, Kotlin 2.4.21, daemon JVM Java 25.
  • ./gradlew clean, then ./gradlew build --rerun-tasks --no-build-cache --warning-mode=all: BUILD SUCCESSFUL, no deprecation warnings. GreeterTest and HelloWorldTest pass 5 each (failed=0 skipped=0).
  • A second build reuses the configuration cache.
  • ORG_GRADLE_PROJECT_entityToGreet='Bjarne Stroustrup' ./gradlew greet --warning-mode=all prints Hello there, Bjarne Stroustrup!.

- gradle/wrapper: distributionUrl bumped to 9.9.1; the wrapper jar is
  regenerated by `./gradlew wrapper --gradle-version 9.9.1 --distribution-type bin`
  (run twice). gradlew and gradlew.bat are unchanged, and the wrapper
  keeps its retry policy.
- gradle/gradle-daemon-jvm.properties: refreshed by
  `./gradlew updateDaemonJvm --jvm-version 25`; the macOS and Windows
  JDK 25 builds are newer. It now matches xtclang/xvm's.

9.9.1 rather than 9.9.0: it is the 9.9.0 feature set plus fixes for
three security vulnerabilities in 9.9.0.

Wrapper jar SHA-256 matches the published 9.9.1 checksum. After clean,
build passes with --rerun-tasks --no-build-cache --warning-mode=all,
with no deprecation warnings; GreeterTest and HelloWorldTest pass 5
each. A second build reuses the configuration cache, and greet runs.
@lagergren
lagergren merged commit f56c10b into master Nov 10, 2026
2 checks passed
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