Gradle Release Notes

We are excited to announce Gradle 8.14-milestone-3 (released 2025-02-21).

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

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 8.14-milestone-3 by updating the Wrapper in your project:

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

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

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

New features and usability improvements

Build authoring improvements

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

Configurations are initialized lazily

Similar to tasks, configurations are now realized only when necessary.

Starting with this release, applying the base plugin (or any plugin that applies it, such as JVM plugins) no longer realizes all configurations declared using register or the incubating role-based factory methods.

This change can reduce configuration time and memory usage in some builds.

To leverage these improvements, declare configurations using the register method instead of the create method:

configurations {
    // Instead of using `create`
    create("myEagerConfiguration")
    
    // Use `register` to avoid realizing the configuration
    register("myLazyConfiguration")
}

Support for building projects with Java 24

Gradle now supports Java 24 for compiling, testing, and starting Java programs. You can select the Java language version using toolchains.

However, Gradle itself cannot run on Java 24 yet, as Groovy does not fully support JDK 24. Future versions are expected to address this.

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.

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.