Align Gradle Java and Kotlin targets after upgrading Kotlin

MSAL

Aligns Gradle Java and Kotlin bytecode targets using the actual Kotlin compiler plugin declaration after its upgrade, rather than the original dependency model. Preserves Kotlin 1.x and bounds the target by the compiler's support. Markerless root builds are eligible only with conventional root Kotlin sources and an owned compatible JVM compiler. Unmodeled nested builds are left unchanged.

org.openrewrite.java.migrate.AlignGradleKotlinTargetsForJava25
mod run . --recipe=org.openrewrite.java.migrate.AlignGradleKotlinTargetsForJava25

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.