Find "cmd".execute() at configuration time

MSAL

Groovy's String.execute() and List.execute() at configuration time print a deprecation warning on Gradle 9.8, which says it will fail with an error in Gradle 11, and are already an error with the configuration cache on. What the output feeds decides the replacement. Calls in doFirst, doLast and classes are skipped, since those run later. A closure run later than configuration, or a variable holding the command, can't be told apart, so the first is marked and the second is not. Groovy only, since execute is a Groovy helper. See the Gradle upgrade guide for more information.

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

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