Migrate to Java 25
MSALThis recipe will apply changes commonly needed when migrating to Java 25. This recipe will also replace deprecated API with equivalents when there is a clear migration strategy. Build files will also be updated to use Java 25 as the target/source and plugins will also be upgraded to versions that are compatible with Java 25. Gradle builds with unsupported or opaque Kotlin compilers are preserved and reported with a manual prerequisite; editable Kotlin 2.x declarations can take the supported minor-upgrade path before the build migration.
org. openrewrite. java. migrate. UpgradeToJava25mod run . --recipe= org. openrewrite. java. migrate. UpgradeToJava25Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.