Migrate Kotlin modules to Kotlin 2

Proprietary

Spring Boot 4.0 requires Kotlin 2.2, where the Kotlin 1.x APIs deprecated in Kotlin 1.4 and 1.5, such as String.toLowerCase(), no longer compile and the kotlinOptions Gradle DSL is gone. Migrates both, in modules that compile Kotlin sources.

io.moderne.java.spring.boot4.MigrateKotlinModulesToKotlin2
mod run . --recipe=io.moderne.java.spring.boot4.MigrateKotlinModulesToKotlin2

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