How to see dependency tree in sbt?

后端 未结 5 2077
余生分开走
余生分开走 2020-12-07 15:43

I am trying to inspect the SBT dependency tree as described in the documentation:

sbt inspect tree clean

But I get this error:



        
5条回答
  •  猫巷女王i
    2020-12-07 16:01

    If you want to view library dependencies, you can use the coursier plugin: https://github.com/coursier/coursier/blob/master/doc/FORMER-README.md#printing-trees

    Output example: text (without colors): https://gist.github.com/vn971/3086309e5b005576533583915d2fdec4

    Note that the plugin has a completely different nature than printing trees. It's designed for fast and concurrent dependency downloads. But it's nice and can be added to almost any project, so I think it's worth mentioning.

提交回复
热议问题