How to have sbt multi-project builds configure setting for subprojects?
问题 I have an sbt (0.13.1) project with a bunch of subprojects. I am generating eclipse project configurations using sbteclipse. My projects only have scala source files, so I want to remove the generated src/java folders. I can achieve that by (redundantly) adding the following to the build.sbt of each subproject: unmanagedSourceDirectories in Compile := (scalaSource in Compile).value :: Nil unmanagedSourceDirectories in Test := (scalaSource in Test).value :: Nil I tried just adding the above