Gradle 9.9.1
Overview. Gradle 9.9.1 was released on November 10, 2026, and is the first patch release for Gradle 9.9.0, which shipped earlier the same day. The release is primarily a security update: it addresses three vulnerabilities in the build tool and its daemon communication, and it includes one defect fix plus the performance and test-filtering improvements introduced in the 9.9 line. The Gradle team recommends upgrading to 9.9.1.
Security Fixes
Three vulnerabilities are resolved in this release. Each affects a different range of past versions, and all are resolved by upgrading to 9.9.1.
- Version catalog values run as code in generated accessors (affects versions since 9.3, severity Critical). Values defined in a version catalog could execute as code when Gradle generated type-safe accessors.
- Gradle client trusts the content of the daemon registry (affects versions since 8.6, severity High). The client accepted registry entries it should have validated.
- Daemon client trusts stale registry entries, enabling port squatting (affects versions since 7.0, severity High). A client could connect to a process that had taken over a previously registered port.
Projects on 9.9.0 should treat 9.9.1 as a mandatory update rather than an optional one, given the critical rating on the catalog accessor issue.
Resolved Issues
One reported defect is fixed in this patch: the KotlinNativeBundleArtifactsTypes deprecation message advised upgrading to Kotlin Gradle Plugin 2.1.0, yet KGP 2.4.21 still triggered the warning. The deprecation is now correctly scoped to KGP releases before 2.5.0 (KT-89265).
Performance: Incremental Kotlin DSL Compilation
Kotlin DSL scripts are now compiled through the Kotlin Build Tools API, which brings incremental compilation to build scripts themselves. When a script must be recompiled after a signature change in buildSrc or in an included build, only the affected parts are compiled again. In the project's performance tests on a large multi-project build, script recompilation became 65% faster. Builds that rarely recompile scripts will see no measurable change.
Test Reporting and Execution
Test filters now apply to JUnit Platform tests that are not declared as methods, including ArchUnit rules declared on fields with @ArchTest and Spek scopes. Previously, Gradle ran such tests under any filter unless the entire class was excluded, so --tests "SomeUnrelatedTest" also executed every ArchUnit rule in the source set. Tests are now matched by their enclosing class and reported name, consistent with how methods are matched.
Rules grouped with ArchTests.in(...) are matched by the grouped class rather than the field holding them, and tests registered only at execution time by engines such as Kotest can still be selected by spec class. The Test Retry plugin benefits directly: it uses test filters to choose reruns, and previously reran every non-method test whenever any test in the task failed. It now reruns only the failures.
General Improvements
- Wrapper task preserves customizations. Upgrading Gradle no longer discards customized properties on the wrapper task.
- Problems API groups by area. Problems are grouped by area, such as Compilation > Java, making the origin of each problem visible. Windows Terminal additionally shows build progress on the taskbar.
- Isolated Projects in Eclipse. Buildship can now sync builds with Isolated Projects enabled, matching the existing support in IntelliJ IDEA and Android Studio.
- Build authoring. New
ProviderFactorymethods cover values that are already known, and plugin authors can make theSynctask empty its destination when its source is empty. - Documentation. The User Manual is now available as Markdown so that AI agents and other tooling can read it directly, and a new chapter covers securing Gradle builds.
Two APIs were promoted in this release: the custom dependencies block API and AndSpec.findUnsatisfiedSpec.
Deprecations and Breaking Changes
No new deprecations are introduced by 9.9.1 itself, but the changed behaviour of test filtering for non-method tests is called out as a breaking change in the upgrade guide. Builds that relied on ArchUnit rules or Spek scopes always executing during filtered runs will observe fewer tests executing, and tasks depending on the previous behaviour should be reviewed.
Upgrade Instructions
Update the wrapper in each project:
./gradlew :wrapper --gradle-version=9.9.1
./gradlew :wrapper
For Java, Groovy, Kotlin and Android compatibility, consult the full compatibility notes, and review the Gradle 9.x upgrade guide for deprecations and other considerations carried over from earlier 9.x releases.
Contributors
The Gradle team credited Aurimas, devareddy05, DragonFSKY, fru1tworld, Ivan Khanas, Jeremy Schoemaker, John Burns, Labh R Jethe, Marcin Mycek, monkey, Nelson Osacky, Roberto Perez Alcolea, Róbert Papp, SeungTaek Lim, Stefan Oehme, 万彬宇 and 한의준 for contributions to the 9.9 line.