Check Kotlin compiler prerequisites for Java 25
MSALPreserve Gradle builds compiling Kotlin with an unsupported or unresolved compiler, and report a manual prerequisite. Java-only Kotlin DSL builds are not excluded. Independent nested build boundaries are retained.
org. openrewrite. java. migrate. search. CheckKotlinGradleJava25CompatibilityRequired
A compiler version verified to compile Kotlin while Gradle runs on Java 25.
Optional
Mark eligible files when used as a precondition. Otherwise only report manual prerequisites without changing sources.
Upgrade only owned Kotlin JVM 2.x compiler literals inside compatible shared builds.
Select modeled Kotlin modules and markerless root builds with conventional root Kotlin sources and a known compatible or safely upgradable owned JVM compiler.
mod run . --recipe= org. openrewrite. java. migrate. search. CheckKotlinGradleJava25Compatibility \
-P minimumCompilerVersion=2.3.0Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.