Find project.exec and project.javaexec calls

MSAL

Project.exec, Project.javaexec and the script-level exec { } and javaexec { } are deprecated since Gradle 8.11 and removed in Gradle 9, where calling them fails. The replacement is an Exec task, an injected ExecOperations or providers.exec, depending on when it runs and what uses the result, which takes a person to decide. See the Gradle upgrade guide for more information.

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

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