Upgrade build to Java 25 (non-Kotlin)
MSALUpgrades build files to Java 25 for modules without Kotlin source files. This covers pure Java projects, including those that only pick up kotlin-stdlib transitively through another dependency. Kotlin DSL scripts without JavaProject, GradleProject, and JavaVersion markers are left unchanged because their Kotlin compiler compatibility cannot be established from the model.
org. openrewrite. java. migrate. UpgradeBuildToJava25mod run . --recipe= org. openrewrite. java. migrate. UpgradeBuildToJava25Install 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.