Align Gradle Java and Kotlin bytecode targets

MSAL

Upgrade Java and Kotlin together using the actual Kotlin Gradle plugin version, preserving Kotlin 1.x and unmodeled nested build boundaries.

org.openrewrite.java.migrate.UpgradeGradleJavaVersion

Required

The requested Java version, bounded by the Kotlin compiler's supported target.

mod run . --recipe=org.openrewrite.java.migrate.UpgradeGradleJavaVersion \ -P version=25

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