Skip to main content

Gradle 9.9.2

Release Date: November 19, 2026

Gradle 9.9.2 shipped on November 19, 2026, and the honest summary is this: it is a security release with a performance bonus. The build tool team calls it the second patch for Gradle 9.9.0, and four vulnerabilities are the reason you should care.

The Security Bill Comes First

The release notes list four issues, all rated High, and two of them concern code that most teams never think about:

  • SFTP repositories do not verify host keys (CVSS 8.9). If you resolve dependencies over SFTP, a man in the middle could impersonate your repository.
  • Transitive snapshot dependencies skip dependency verification (CVSS 8.8). Verification metadata was not applied to snapshot dependencies pulled in transitively.
  • TestKit uses a predictable directory in the system temporary directory (CVSS 7.0), which opens a local symlink attack surface.
  • The daemon registry is briefly readable by other local users when it is created (CVSS 7.0). A short window, but a real one on shared machines.

Two of those, the SFTP host key check and snapshot verification, are the kind of finding that sounds abstract until you remember how much of the Java ecosystem still resolves artifacts from internal servers with self-signed certificates. The other two need a local attacker. Still worth patching.

Kotlin DSL Builds Get Faster

Tucked under performance improvements is the item most people will actually notice. Kotlin DSL build scripts now benefit from incremental compilation, so recompiling after a change in buildSrc or an included build is up to 65 percent faster in large multi-project builds. That is not a tweak, that is the difference between a two minute and a forty second feedback loop when you touch a convention plugin.

Test Filtering Finally Understands ArchUnit

--tests filtering now applies to JUnit Platform tests that are not declared as methods. ArchUnit rules and Spek scopes used to be invisible to test filters, which meant selecting a single test class could still run an entire suite of architecture rules. For anyone with a large ArchUnit setup, this alone justifies the upgrade.

Smaller Things Worth Knowing

  • The wrapper task preserves your customized properties when you upgrade, so hand tuned distributionUrl or checksum settings survive a version bump.
  • The Problems API groups findings by area, for example Compilation > Java, instead of dumping a flat list.
  • Windows Terminal now shows build progress on the taskbar.
  • Isolated Projects works with Eclipse through Buildship, matching IntelliJ IDEA and Android Studio.
  • The User Manual is published as Markdown, and there is a new chapter on securing Gradle builds.

The Skeptical Verdict

No breaking changes are announced, and the fixed issues list is short: a slow metadata generation path with the configuration cache, a slow missing-dependency check for included builds, and a plugin resolution failure introduced in 9.9.0 when a registry answers a plugin marker request with 401, which is exactly what GitLab group level registries do.

That last one matters. If your builds resolve plugins from a GitLab registry and started failing after 9.9.0, this is the fix. Everyone else should upgrade for the four CVEs and stay for the Kotlin DSL speedup. Upgrade with ./gradlew wrapper --gradle-version=9.9.2 and run the build twice before trusting the numbers.

Other Versions

We use cookies for ads and analytics.