Skip to content

Commit

Permalink
fix publishing (#3433)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgfraser committed Apr 22, 2020
1 parent 428ceb4 commit 7926d7c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions project/BuildHelper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,13 @@ object BuildHelper {
def crossPlatformSources(scalaVer: String, platform: String, conf: String, baseDir: File, isDotty: Boolean) =
CrossVersion.partialVersion(scalaVer) match {
case Some((2, x)) if x <= 11 =>
platformSpecificSources(platform, conf, baseDir)("2.11", "2.x")
case Some((2, x)) if x >= 12 =>
platformSpecificSources(platform, conf, baseDir)("2.12+", "2.12", "2.x")
platformSpecificSources(platform, conf, baseDir)("2.11", "2.x", "2.11-2.12")
case Some((2, x)) if x == 12 =>
platformSpecificSources(platform, conf, baseDir)("2.12+", "2.12", "2.x", "2.11-2.12")
case Some((2, x)) if x >= 13 =>
platformSpecificSources(platform, conf, baseDir)("2.12+", "2.12", "2.x", "2.13+")
case _ if isDotty =>
platformSpecificSources(platform, conf, baseDir)("2.12+", "dotty")
platformSpecificSources(platform, conf, baseDir)("2.12+", "dotty", "2.13+")
case _ =>
Nil
}
Expand Down

0 comments on commit 7926d7c

Please sign in to comment.