Change a Gradle dependency classifier

Apache 2.0

Changes classifier of an existing dependency declared in build.gradle files.

org.openrewrite.gradle.ChangeDependencyClassifier

Required

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

A qualification classifier for the dependency.

The dependency configuration to search for dependencies in.

mod run . --recipe=org.openrewrite.gradle.ChangeDependencyClassifier \ -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.