Gradle or Maven dependency insight

Apache 2.0

Finds dependencies, including transitive dependencies, in both Gradle and Maven projects. Matches within all Gradle dependency configurations and Maven scopes.

org.openrewrite.java.dependencies.DependencyInsight

Required

Group ID glob pattern used to match dependencies.

Artifact ID glob pattern used to match dependencies.

Optional

Match only dependencies with the specified version. Node-style version selectors may be used. All versions are searched by default.

For Maven only, match dependencies with the specified scope. All scopes are searched by default.

mod run . --recipe=org.openrewrite.java.dependencies.DependencyInsight \ -P groupIdPattern='com.fasterxml.jackson*' \ -P artifactIdPattern='jackson-*'

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