Repository navigation
Build with Gradle 9.9.2 - #17089
Build with Gradle 9.9.2#17089
Conversation
Moves the build from Gradle 9.9.1 to 9.9.2, the patch release that fixes four advisories published on 2026-11-19: - GHSA-4mf6-7pm2-6wm8 (high): SFTP repositories do not verify host keys - GHSA-7f7r-77ff-fr6f (high): transitive snapshot dependencies skip dependency verification - GHSA-99wf-vhq9-wm2x (high): TestKit uses a predictable directory in the system temporary directory - GHSA-35pj-rg5r-8rpv (high): the daemon registry is briefly readable by other local users when it is created It also fixes slow configuration cache serialization of GenerateModuleMetadata and GenerateMavenPom with fromResolutionResult(), a slow missing-dependency check for producers in included builds (a regression since 9.8.0), and plugin resolution failing since 9.9.0 when the repository answers the plugin marker jar request with 401. The 9.9.2 wrapper jar is byte-identical to 9.9.1's and matches Gradle's published gradle-9.9.2-wrapper.jar.sha256, so every wrapper jar, Forge's bundled one included, is unchanged. Every location the 9.9.1 bump touched moves to 9.9.2: the wrappers, build-logic, the grails-profiles skeletons, the shell CLI's gradle-sample fixture, Forge's gradleWrapperProperties template, gradleToolingApiVersion, .sdkmanrc, the gradle-developer skill and the version the grails-upgrade skill names. The Grails 7 fixture in end-to-end stays on Gradle 8.14.7, which is what 7.0.x still pins. Release notes: https://docs.gradle.org/9.9.2/release-notes.html
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 8.0.x #17089 +/- ##
==================================================
+ Coverage 62.4963% 62.4972% +0.0009%
Complexity 27472 27472
==================================================
Files 2249 2249
Lines 111693 111693
Branches 20478 20478
==================================================
+ Hits 69804 69805 +1
+ Misses 32537 32535 -2
- Partials 9352 9353 +1 🚀 New features to boost your workflow:
|
This comment has been minimized.
This comment has been minimized.
matrei
left a comment
There was a problem hiding this comment.
Thanks! I made the same bump locally before I saw this PR, and its 13 files match mine line for line. The wrapper jars match Gradle's published gradle-9.9.2-wrapper.jar.sha256, and gradle -p gradle-bootstrap on 9.9.2 changes nothing beyond the comments it strips and the CRLF it writes to gradlew.bat.
One addition: the Grails 7 fixture can move to 8.14.8 here too. #17091 moves 7.0.x to Gradle 8.14.8, the 8.x patch release with the same four fixes. The fixture's .sdkmanrc says it builds with what 7.0.x pins. #16928 handled it the same way, moving the fixture to 8.14.7 next to #16927. That is three files:
end-to-end/legacy-g7-command-plugin/.sdkmanrc: the comment andgradle=8.14.8end-to-end/legacy-g7-command-plugin/gradle/wrapper/gradle-wrapper.properties:distributionUrlend-to-end/README.md: the fixture's row
With those, bootstrap's legacyG7Wrapper regenerates the fixture's wrapper with no change, since the 8.14.8 wrapper jar is byte-identical to 8.14.7's. The fixture also builds with ./gradlew jar on 8.14.8 and JDK 17.
Verified locally with the fixture change in place:
./gradlew --versionreports 9.9.2 for the root,build-logic,grails-gradle,grails-forgeandend-to-endbuilds, and./gradlew helpconfiguresbuild-logic,grails-gradleandend-to-endcleanly.:grails-shell-cli:checkpasses on tooling API 9.9.2: 228 tests, 2 skipped.:grails-forge-core:checkpasses: 400 tests, 1 skipped.
Approving. If you'd rather keep this PR as it is, the fixture can follow separately.
|
@codeconsole can you please update the grails 7 end to end and then merge this? |
apache#17091 moves 7.0.x to Gradle 8.14.8, the 8.x patch release with the same four security fixes as 9.9.2, so the end-to-end fixture that stands in for a Grails 7 plugin moves with it.
|
@matrei @jdaugherty The Grails 7 fixture now builds with Gradle 8.14.8 (7975168): its |
Moves the build from Gradle 9.9.1 to 9.9.2, the patch release that fixes four advisories published on 2026-11-19:
It also fixes slow configuration cache serialization of
GenerateModuleMetadata/GenerateMavenPomwithfromResolutionResult(), a slow missing-dependency check for producers in included builds (a regression since 9.8.0), and plugin resolution failing since 9.9.0 when a repository answers the plugin marker jar request with 401.What changed
The same locations as the 9.9.1 bump (#16928):
distributionUrlin every wrapper (root, build-logic, grails-gradle, grails-forge, end-to-end), the grails-profiles skeletons, the shell CLI'sgradle-samplefixture and Forge'sgradleWrapperPropertiestemplategradleToolingApiVersion=9.9.2and.sdkmanrcThe 9.9.2 wrapper jar is byte-identical to 9.9.1's and matches Gradle's published
gradle-9.9.2-wrapper.jar.sha256, so no wrapper jar or script changes. The Grails 7 fixture in end-to-end moves from Gradle 8.14.7 to 8.14.8, the 8.x patch release with the same four fixes, which 7.0.x builds with from #17091 on.Locally, the wrapper runs 9.9.2, the fixture's wrapper runs 8.14.8 on JDK 17, and
gradle-tooling-api:9.9.2resolves forgrails-shell-cli.