Skip to content

Commit

Permalink
Use scala 2.13.0-M4 milestone release
Browse files Browse the repository at this point in the history
  • Loading branch information
ashawley committed Oct 10, 2018
1 parent 2d99e29 commit 4c7a945
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jdk:
scala:
- 2.11.12
- 2.12.6
- 2.13.0-M3
- 2.13.0-M4

env:
global:
Expand Down Expand Up @@ -46,7 +46,7 @@ matrix:
jdk: openjdk11
- scala: 2.12.6
jdk: openjdk6
- scala: 2.13.0-M3
- scala: 2.13.0-M4
jdk: openjdk6

script:
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sbtcrossproject.{crossProject, CrossType}
import ScalaModulePlugin._

crossScalaVersions in ThisBuild := List("2.12.6", "2.11.12", "2.13.0-M3")
crossScalaVersions in ThisBuild := List("2.12.6", "2.11.12", "2.13.0-M4")

lazy val xml = crossProject(JSPlatform, JVMPlatform)
.withoutSuffixFor(JVMPlatform)
Expand All @@ -27,7 +27,7 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform)
(unmanagedSourceDirectories in Compile).value.map { dir =>
val sv = scalaVersion.value
CrossVersion.partialVersion(sv) match {
case Some((2, 13)) if !sv.startsWith("2.13.0-M3") => file(dir.getPath ++ "-2.13") // TODO: remove M3 guard once M4 is out.
case Some((2, 13)) => file(dir.getPath ++ "-2.13")
case _ => file(dir.getPath ++ "-2.11-2.12")
}
}
Expand Down

0 comments on commit 4c7a945

Please sign in to comment.