sbt allows us to run sbt commands on the root project level.
How can I run commands on the meta-build level?
(that is defined in root/project/project
dir)
my use case is that some of my sbt plugins have different versions of the same dependency, and the older dependencies are evicted. I would like to investigate using sbt-dependency-graph
The right way to do this is to run sbt in root/project
. You usually just run it on root/
, the trick is to cd into project
and run it there. If you want to check the library dependencies resolved in the meta build, you can add the sbt dependency graph plugin in root/project/project/plugins.sbt
(note the repetition of project
), and then you should be able to run dependencyBrowseGraph
from the sbt shell.