Use freeCompilerArgs.addAll(...) in Kotlin compilerOptions

Proprietary

In Gradle Kotlin DSL build scripts, replace the legacy freeCompilerArgs = listOf(...) assignment inside a compilerOptions (or kotlinOptions) block with the modern freeCompilerArgs.addAll(...), the idiomatic way to contribute arguments to the ListProperty.

org.openrewrite.kotlin.migrate.UseFreeCompilerArgsAddAll
mod run . --recipe=org.openrewrite.kotlin.migrate.UseFreeCompilerArgsAddAll

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