Skip to content

Gradle

v9.5.1 Breaking

This release includes breaking changes for platform teams planning a safe upgrade.

Published 22d Build & Package
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

build-tool gradle gradle-bt groovy java kotlin

ReleasePort's take

Moderate signal
editorial:auto 13d

Gradle v9.5.1 now shows task provenance in build reports and failure messages, and adds type‑safe accessors for precompiled Kotlin Settings plugins.

Why it matters: Review build logs to locate failing tasks quickly; update Kotlin plugin codebases to use the new type‑safe API before your next release cycle.

Summary

AI summary

Task provenance in reports/failure messages and type‑safe accessors for precompiled Kotlin Settings plugins

Changes in this release

Feature Medium

Task provenance displays in build reports and failure messages.

Task provenance displays in build reports and failure messages.

Source: llm_adapter@2026-05-21

Confidence: low

Feature Medium

Type-safe accessors provided for precompiled Kotlin Settings plugins.

Type-safe accessors provided for precompiled Kotlin Settings plugins.

Source: llm_adapter@2026-05-21

Confidence: low

Full changelog

The Gradle team is excited to announce Gradle 9.5.1.

Here are the highlights of this release:

  • Task provenance in reports and failure messages
  • Type-safe accessors for precompiled Kotlin Settings plugins

Read the Release Notes

We would like to thank the following community members for their contributions to this release of Gradle:
atm1020,
mataha,
Adam,
Attila Kelemen,
Benedikt Ritter,
Björn Kautler,
Caro Silva Rode,
CHANHAN,
Dmitry Nezavitin,
Eng Zer Jun,
KugelLibelle,
Madalin Valceleanu,
Markus Gaisbauer,
Oliver Kopp,
Philip Wedemann,
ploober,
Roberto Perez Alcolea,
Rohit Anand,
Suvrat Acharya,
Ujwal Suresh Vanjare,
Victor Merkulov

Upgrade instructions

Switch your build to use Gradle 9.5.1 by updating your wrapper:

./gradlew wrapper --gradle-version=9.5.1 && ./gradlew wrapper

See the Gradle 9.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.

For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.

Reporting problems

If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.

We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track Gradle

Get notified when new releases ship.

Sign up free

About Gradle

Adaptable, fast automation for all

All releases →

Related context

Beta — feedback welcome: [email protected]