Dependency report

Apache 2.0

Emits a data table detailing all Gradle and Maven dependencies. This recipe makes no changes to any source file.

org.openrewrite.java.dependencies.DependencyList

Optional

The scope of the dependencies to include in the report. Defaults to Compile.

includeTransitiveboolean

Whether or not to include transitive dependencies in the report. Defaults to false, which includes only direct dependencies.

validateResolvableboolean

When enabled the recipe will attempt to download every dependency it encounters, reporting on any failures. This can be useful for identifying dependencies that have become unavailable since an LST was produced. Defaults to false.

mod run . --recipe=org.openrewrite.java.dependencies.DependencyList

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