Rename the kotlinOptions block to compilerOptions
ProprietaryRename the deprecated kotlinOptions DSL block to compilerOptions in Gradle build files (Groovy and Kotlin DSL). The kotlinOptions DSL was deprecated in Kotlin 2.0 and removed in Kotlin 2.2. Note: in the Kotlin DSL the assignments inside the block must also be modernized for the result to compile; see UseJvmTargetProviderSyntax and UseFreeCompilerArgsAddAll.
org. openrewrite. kotlin. migrate. RenameKotlinOptionsToCompilerOptionsmod run . --recipe= org. openrewrite. kotlin. migrate. RenameKotlinOptionsToCompilerOptionsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.