I have a project with with subprojects added as git submodules in subdirectories, each independent projects having their own build.sbt
files. The root projects depends on and aggregates these subprojects. How can I override a setting value (e.g. organization
or version
) inside those subprojects?
lazy val p1 = (project in file("p1"))
.settings(organization := "xyz.abc") // This does not work :(
lazy val root = (project in file("."))
.dependsOn(p1)
.aggregate(p1)