5

My scala (Activator + Play) project starts getting huge. I want to split it into multiple small packages. However, as a starting point I need to know which file/package depends on which file/package!

How can I obtain a tree or a graph of dependencies among my files?

I tried sbt-dependendy-graph but it gives external dependencies...

Any clue?

Marek J
  • 1,364
  • 8
  • 18
  • 33
Nicolas Cailloux
  • 418
  • 4
  • 13

1 Answers1

2

The closest thing I know is acyclic, which lets you enforce that the package dependency graph is acyclic. There's already an issue asking for a way of visualizing the dependency graph. Looking at the code, it should be easy to build something like what you want, check DependencyExtraction.scala and GraphAnalysis.scala

Eduardo Pareja Tobes
  • 3,060
  • 1
  • 18
  • 19