I have three Scala projects:
Project A - must have version 2.11.9 of Scala.
Project B - must have version 2.12.13 of Scala.
Common - the version does not matter.
Both Projects A and B use Common.
Is there any way to make it work other than compiling two times the Common project, with two different versions?
And if it's the only option, how can I manage it in the easiest way? Because going from one version to another in build.sbt means also to change the versions of many dependencies, and it is a mess.