Change Gradle dependency artifact
Apache 2.0Change the artifact of a specified Gradle dependency.
org. openrewrite. gradle. ChangeDependencyArtifactIdRequired
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.
The new artifactId to use.
Optional
The dependency configuration to search for dependencies in.
mod run . --recipe= org. openrewrite. gradle. ChangeDependencyArtifactId \
-P groupId= 'com. fasterxml. jackson*' \
-P artifactId= 'jackson-module*' \
-P newArtifactId= jackson-customInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.