cs resolve
Resolve lists the transitive dependencies of one or more other dependencies. More information: https://get-coursier.io/docs/cli-resolve.
- Resolve lists of transitive dependencies of two dependencies:
cs resolve {{group_id1}}:{{artifact_id1}}:{{artifact_version1}} {{group_id2}}:{{artifact_id2}}:{{artifact_version2}}
- Resolve lists of transitive dependencies of a package by the dependency tree:
cs resolve --tree {{group_id}}:{{artifact_id}}:{{artifact_version}}
- Resolve dependency tree in a reverse order (from a dependency to its dependencies):
cs resolve --reverse-tree {{group_id}}:{{artifact_id}}:{{artifact_version}
- Print all the libraries that depends on a specific library:
cs resolve {{group_id}}:{{artifact_id}}:{{artifact_version}} --what-depends-on {{searched_group_id}}:{{searched_artifact_id}}
- Print all the libraries that depends on a specific library version:
cs resolve {{group_id}}:{{artifact_id}}:{{artifact_version}} --what-depends-on {{searched_group_id}}:{{searched_artifact_id}}{{searched_artifact_version}}
- Print eventual conflicts between a set of packages:
cs resolve --conflicts {{group_id1:artifact_id1:artifact_version1 group_id2:artifact_id2:artifact_version2 ...}}