This chapter provides the information you need to migrate your Gradle 9.9.3 builds to Gradle 10.0.0. For migrating within Gradle 9.x.y, see the older migration guide first.
| As soon as Gradle 11.0.0 ships, no security or bug fixes will be made on any release of Gradle 9. To receive fixes for these versions, see Gradle Security Subscription. |
We recommend the following steps for all users:
-
Try running
gradle help --scanand view the deprecations view of the generated Build Scan.
This lets you see any deprecation warnings that apply to your build.
Alternatively, you can run
gradle help --warning-mode=allto see the deprecations in the console, though it may not report as much detailed information. -
Update your plugins.
Some plugins may break with a new major version of Gradle, as these releases can remove public APIs. Using the latest version of a plugin increases the likelihood that it is already compatible with the new major Gradle version.
-
Run
gradle :wrapper --gradle-version 10.0.0to update the project to 10.0.0. -
Try to run the project and debug any errors using the Troubleshooting Guide.
Changes in Gradle 10.0.0
| Gradle 10.0.0 is still in development. Breaking changes and removals are added to this chapter as they are made. |