Skip to content

Dependency tree and list

Flavio Junqueira edited this page Apr 9, 2019 · 1 revision

To produce a dependency tree for all targets, run:

./gradlew allDeps > pravega-dependency-tree.txt

To produce a list of unique dependencies, sorted, and without additional characters, here is an option (I'm sure it can be optimized):

cat pravega-dependency-tree.txt | sed -E 's/^(( )*(\|( |\t)*)*)//' | sed -n -E '/^(\+---|\\---|\|---)/p' | sed -E 's/^^(\+--- |\\--- |\|--- )//' | sed -E '/^project /d' | sort | uniq > pravega-dependency-tree-cleaned-sorted.txt
Clone this wiki locally