Scala cross-version support for shared source directory #2005
Labels
enhancement
Feature request (that does not concern language semantics, see "language")
Milestone
Since version 0.13.8, sbt adds Scala version specific source directories to
unmanagedSources
, see sbt/sbt#1799 or https://github.com/sbt/sbt/blob/0.13.8/notes/0.13.8.markdown#cross-version-support-for-scala-sources. That means that besidessrc/main/scala
src/main/scala-2.x
is added to the list of source directories. This is extremely useful for projects that target multiple Scala versions but want to use different sources per version.Unfortunately a Scala.js
CrossProject
withCrossType.Full
does not yet add Scala version specific directories for theshared
source directory. This isunmanagedSourceDirectories
for one of my projects:Ideally both lists should also contain
$PROJECT_ROOT/core/shared/src/main/scala-2.11
.The text was updated successfully, but these errors were encountered: