利用插件查看SBT Dependency Tree

需要用到插件,地址:

https://github.com/jrudolph/sbt-dependency-graph

 1. 添加插件(请用最新的0.7.5)

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

 2. 在build.sbt添加配置

net.virtualvoid.sbt.graph.Plugin.graphSettings

3. 查看依赖

$ sbt dependency-tree

或者

sbt dependency-graph


你可能感兴趣的:(sbt,依赖管理,依赖树)