Maintaining distinct SBT projects with (mostly) common dependencies



In my work I have bunch of open-sourced projects. They are in distinct SBT projects, but share very similar dependencies. I have problems when update dependencies.

Is there a tool for SBT that would arrange “meta SBT project”? It should contain versions of all dependencies, and allow to build those distinct SBT projects simultaneously.

I wonder how Lightbend or another open-sourced libraries maintainer handles that?


You can provide a plugin to do this. sbt-catalysts does this (and other things) for a bunch of Typelevel libraries.


You can create sbt plugins.

PNWS 2014 - Composing Project Archetypes with SBT AutoPlugins


You could also use play’s