Created
June 11, 2019 18:02
-
-
Save limansky/eb8f2917245abd69e7904665f6a8fdf5 to your computer and use it in GitHub Desktop.
sbt cross build issue demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lazy val root = project.in(file(".")) | |
.aggregate(core, moduleA, moduleB) | |
.settings( | |
crossScalaVersions := Nil | |
) | |
lazy val core = project.in(file("core")) | |
.settings( | |
crossScalaVersions := Seq("2.11.12", "2.12.8") | |
) | |
lazy val moduleA = project.in(file("moduleA")) | |
.settings( | |
crossScalaVersions := Seq("2.11.12", "2.12.8") | |
) | |
.dependsOn(core) | |
lazy val moduleB = project.in(file("moduleB")) | |
.settings( | |
crossScalaVersions := Seq("2.12.8") | |
) | |
.dependsOn(core) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce: