I\'ve a SBT multi-project where some projects have dependencies to each other. Like this:
lazy val coreProject: Project = Project(
id = \"core-project\"
You can also do this with a .dependsOn(coreProject % "compile->compile;test->test")
after the initial project declaration.
lazy val coreProject = Project("core-project")
lazy val extensions = Project("extensions").dependsOn(coreProject % "compile->compile;test->test")
Like so:
dependencies = Seq(coreProject % "compile->compile;test->test")
This is discussed in the section "Per-configuration classpath dependencies" in then Getting-Started-Multi-Project guide.