Maintaining distinct SBT projects with (mostly) common dependencies

Hi,

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?

1 Like

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

1 Like

You can create sbt plugins.

PNWS 2014 - Composing Project Archetypes with SBT AutoPlugins

1 Like

You could also use play’s https://github.com/playframework/templatecontrol

1 Like