Skip to content

Build with Gradle 9.9.2 - #17089

Merged
codeconsole merged 2 commits into
apache:8.0.xfrom
codeconsole:deps/gradle-9.9.2
Nov 20, 2026
Merged

codeconsole merged 2 commits into
apache:8.0.xfrom
codeconsole:deps/gradle-9.9.2

Conversation

@codeconsole

@codeconsole codeconsole commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

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/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 a repository answers the plugin marker jar request with 401.

What changed

The same locations as the 9.9.1 bump (#16928):

  • distributionUrl in every wrapper (root, build-logic, grails-gradle, grails-forge, end-to-end), the grails-profiles skeletons, the shell CLI's gradle-sample fixture and Forge's gradleWrapperProperties template
  • gradleToolingApiVersion=9.9.2 and .sdkmanrc
  • the current line and documentation links in the gradle-developer skill, and the version the grails-upgrade skill names

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 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.2 resolves for grails-shell-cli.

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

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.4972%. Comparing base (0518f48) to head (7975168).
⚠️ Report is 3 commits behind head on 8.0.x.

Additional details and impacted files

Impacted file tree graph

@@                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     

see 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@testlens-app

This comment has been minimized.

matrei
matrei previously approved these changes Nov 20, 2026

@matrei matrei left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 and gradle=8.14.8
  • end-to-end/legacy-g7-command-plugin/gradle/wrapper/gradle-wrapper.properties: distributionUrl
  • end-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 --version reports 9.9.2 for the root, build-logic, grails-gradle, grails-forge and end-to-end builds, and ./gradlew help configures build-logic, grails-gradle and end-to-end cleanly.
  • :grails-shell-cli:check passes on tooling API 9.9.2: 228 tests, 2 skipped.
  • :grails-forge-core:check passes: 400 tests, 1 skipped.

Approving. If you'd rather keep this PR as it is, the fixture can follow separately.

jdaugherty
jdaugherty previously approved these changes Nov 20, 2026
@jdaugherty

Copy link
Copy Markdown
Contributor

@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.
@codeconsole

Copy link
Copy Markdown
Contributor Author

@matrei @jdaugherty The Grails 7 fixture now builds with Gradle 8.14.8 (7975168): its .sdkmanrc, its distributionUrl and its row in end-to-end/README.md, to match #17091 on 7.0.x. The description says so too.

@github-actions
github-actions Bot dismissed stale reviews from matrei and jdaugherty November 20, 2026 14:41

Dismissed automatically: the pull request changed after this approval, from 6870dfc to 7975168.

@codeconsole
codeconsole merged commit fbf4b24 into apache:8.0.x Nov 20, 2026
71 of 93 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants