Remove a Gradle dependency
Apache 2.0Removes a single dependency from the dependencies section of the build.gradle.
org. openrewrite. gradle. RemoveDependencyRequired
The first part of a dependency coordinate com.google.guava:guava:VERSION. This can be a glob expression.
The second part of a dependency coordinate com.google.guava:guava:VERSION. This can be a glob expression.
Optional
The dependency configuration to remove from.
mod run . --recipe= org. openrewrite. gradle. RemoveDependency \
-P groupId= 'com. fasterxml. jackson*' \
-P artifactId= 'jackson-module*'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.