Repository navigation
Upgrade Gradle to 9.9.1 - #27
Merged
Merged
Conversation
- 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. The Dockerfile builds with ./gradlew, so it names no Gradle version. Wrapper jar SHA-256 matches the published 9.9.1 checksum. Against the remote 0.4.4-SNAPSHOT plugin and XDK (empty maven.repo.local), after clean, build installDist passes with --rerun-tasks --no-build-cache --warning-mode=all, with no deprecation warnings; StubTest passes 4. A second build reuses the configuration cache.
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.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 togradle-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.gradlewandgradlew.batare 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
ReplaceTokensfilters), Kotlin DSLzipTo/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.The
Dockerfilebuilds with./gradlew, so it names no Gradle version and needs no change. The kernel'scfg.jsonport filter usesfilter { line -> … }, not an Ant filter, so the Ant deprecation does not reach it.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, 50 tasks. No deprecation warnings. StubTest passes 4 (failed=0 skipped=0).build installDistreuses the configuration cache.The Docker image was not built locally.