Can multi-projects from GIT be used as SBT dependencies?

I depend on Banana RDF subprojects all the time with ProjectRef, like this:

lazy val core: Project = Project(
  ...
).dependsOn(
  ProjectRef(uri("git://github.com/w3c/banana-rdf.git"), "banana-jena")
)

One especially nice part is that you can just tack a commit or branch name as a fragment identifier on the URI and everything works exactly as you’d expect.

Leave a Comment