22

There is part of the output:

output of gradle dependencies

What does the symbols ('+','\','->','()','(*)') exactly mean?

Jerry.L
  • 223
  • 1
  • 3
  • 6

1 Answers1

41

+, -, | and \ are just used to draw the tree - it's a kind of ASCII art.

When it comes to (*) and -> please refer to this question and answer.


TL;DR

(*) - is used to indicate that particular dependency is described somewhere else in the tree

-> - is used to point the dependency that wins in version conflict.

informatik01
  • 16,038
  • 10
  • 74
  • 104
Opal
  • 81,889
  • 28
  • 189
  • 210
  • I see some files list directly under one another. Yet one has a '+' sign and the one below it has a '\'. There is no indent, they're directly ontop of each other. What is the meaning of the '+' vs the '\', why wouldn't it show two '+' or two '\'? is there a greater meaning? – RCG Jan 17 '18 at 00:04
  • So as @opal mentioned, it's kind of ASCII art to represent tree. + and \ both shows node but \ suggests last node of that series. – HBB20 Dec 09 '19 at 16:36