Remove build extension by name

Apache 2.0

Remove a Gradle build extension from settings.gradle(.kts) or build.gradle(.kts) files.

org.openrewrite.gradle.RemoveExtension

Required

The name of the build extension to remove, e.g., buildCache.

mod run . --recipe=org.openrewrite.gradle.RemoveExtension \ -P methodName=buildCache

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