Find Kotlin DSL zipTo and unzipTo calls

MSAL

org.gradle.kotlin.dsl.support.zipTo and unzipTo are deprecated in Gradle 9.9 and will be removed in Gradle 10. They run immediately, either while the build is configured or inside a task action, whereas the replacements are a Zip task, a Copy task with zipTree, or an injected ArchiveOperations and FileSystemOperations. Which one fits depends on when the call runs and what consumes the result, which takes a person to decide. Kotlin only, as the functions are not available to Groovy scripts. See the Gradle upgrade guide for more information.

org.openrewrite.gradle.migrate.search.FindZipToAndUnzipTo
mod run . --recipe=org.openrewrite.gradle.migrate.search.FindZipToAndUnzipTo

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