Analyse dependencies in Scala sbt projects
17. June 2016

One sometimes runs into problems with conflicting transitive dependencies. A dependency graph can help analyzing this. I use the sat-dependency-graph sbt plugin to help here.

Just add to your plugins.sbt:

addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.8.2")


Running sbt task dependencyTree will do it:

sbt dependencyTree

If you like a bit more fancy, use the following to create a visual dependency graph based on d3:

sbt dependencyBrowseGraph


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.