Gradle Release Notes

We are excited to announce Gradle 9.0-milestone-3 (released 2025-04-22).

This release features 1, 2, ... n, and more.

Gradle 9.0 has many bug fixes and other general improvements. As a major version, this release also has changes to deprecated APIs and behavior. Consult the Gradle 8.x upgrade guide for guidance on removed APIs and behavior.

We would like to thank the following community members for their contributions to this release of Gradle:

Be sure to check out the public roadmap for insight into what's planned for future releases.

Table Of Contents

Upgrade instructions

Switch your build to use Gradle 9.0-milestone-3 by updating the wrapper in your project:

./gradlew wrapper --gradle-version=9.0-milestone-3 && ./gradlew wrapper

See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes, and other considerations when upgrading to Gradle 9.0-milestone-3.

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

New features and usability improvements

Kotlin 2 TO DO

Groovy 4 TO DO

Configuration Cache improvements

Gradle's Configuration Cache improves build performance by caching the result of the configuration phase. Gradle uses the Configuration Cache to reload a saved configuration when nothing that affects the build configuration has changed.

CC TO DO

Check out the link:https://blog.gradle.org/road-to-configuration-cache[blog post] to learn more.

Build authoring improvements

Gradle provides rich APIs for plugin authors and build engineers to develop custom build logic.

Gradle API now uses JSpecify Nullability Annotations

Since Gradle 5.0 we've been using annotations from the dormant and unfinished JSR-305 to make the nullness of type usages explicit for the Gradle API. Starting with Gradle 9.0, the Gradle API is annotated using JSpecify instead.

For more details and potential breakages, see the dedicated upgrading guide section.

Promoted features are features that were incubating in previous versions of Gradle but are now supported and subject to backward compatibility. See the User Manual section on the "Feature Lifecycle" for more information.

The following are the features that have been promoted in this Gradle release.

Problems API TO DO

Fixed issues

Known issues

Known issues are problems that were discovered post-release that are directly related to changes made in this release.

External contributions

We love getting contributions from the Gradle community. For information on contributing, please see gradle.org/contribute.

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 if 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.