sbt-dependency-graph icon indicating copy to clipboard operation
sbt-dependency-graph copied to clipboard

Limit dependency graph to a depth level

Open alifirat opened this issue 8 years ago • 3 comments

Hi,

I'm using your tool to get the dependency graph of my project but I only want the first depth level of the dependencies. I didn't see any option to have that, Am I wrong ?

alifirat avatar Sep 14 '16 08:09 alifirat

Hi @alifirat! That's correct, you can only show all dependencies. If you are particularly interested in the direct dependencies you could also look directly at the libraryDependency key like this (though, it's not as nicely formatted):

show libraryDependencies

It that what you are looking for?

jrudolph avatar Sep 16 '16 09:09 jrudolph

Oh yes, this is the excepted output ! Thank's :)

alifirat avatar Sep 16 '16 09:09 alifirat

Hi,

I am also looking for this kind of information. Alas, the libraryDependencies does not work for me since we use dynamic revisions (such as "2.6.+") and it does not show the actual revision that it resolved.

avdv avatar Jul 21 '17 07:07 avdv