Change a Gradle dependency configuration
Apache 2.0A common example is the need to change compile to api/implementation as part of the move to Gradle 7.x and later.
org. openrewrite. gradle. ChangeDependencyConfigurationRequired
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.
A dependency configuration container.
Optional
The dependency configuration to search for dependencies in.
mod run . --recipe= org. openrewrite. gradle. ChangeDependencyConfiguration \
-P groupId= 'com. fasterxml. jackson*' \
-P artifactId= 'jackson-module*' \
-P newConfiguration= apiInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.