sbt-dependency-graph
sbt-dependency-graph copied to clipboard
Limit dependency graph to a depth level
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 ?
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?
Oh yes, this is the excepted output ! Thank's :)
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.