In this blog , I am going to describe how to view sbt dependency tree. Last week I had a problem related to different cross version of a dependency. I knew the problem cause but I had spent a day to know which dependency had brought that cross version of dependency. I did some study and browsing about that problem then I come across a sbt plugins as a potential solution of that problem.
In a project there is a chance of using same library but different version by multiple dependencies. I also victim of dependency version conflict. The good way is just draw a sbt dependency tree. Here is a sbt-plugin sbt-dependency graph is available for that.
Following are the steps to install and use sbt-dependency-graph
add plugin to project/plugins.sbt
b) add sbt setting in build.sbt
if project is multi module then add to Parent.scala:
Now run sbt…
View original post 14 more words