Scala 2.13.0-RC1

This commit is contained in:
Lars Hupel 2019-04-07 14:34:53 +02:00
parent 15cf2227fb
commit 3499796cb6
3 changed files with 6 additions and 12 deletions

View File

@ -11,7 +11,7 @@ scala:
- "2.10.7"
- "2.11.12"
- "2.12.7"
- "2.13.0-M5"
- "2.13.0-RC1"
jdk:
- oraclejdk8

View File

@ -140,7 +140,7 @@ Note that the second approach will not include the `map` operation of its grandp
## Including Simulacrum
This project supports Scala 2.10, 2.11 2.12, and 2.13.0-M5. The project is based on macro paradise. To use the project, add the following to your build.sbt:
This project supports Scala 2.10, 2.11 2.12, and 2.13.0-RC1. The project is based on macro paradise. To use the project, add the following to your build.sbt:
```scala
libraryDependencies += "com.github.mpilquist" %% "simulacrum" % "0.15.0"

View File

@ -15,13 +15,7 @@ def ifAtLeast(scalaBinaryVersion: String, atLeastVersion: String)(options: Strin
else Seq.empty
}
lazy val scalatestSetting = Def.setting(
if (scalaVersion.value == "2.13.0-M5") {
Seq("org.scalatest" %%% "scalatest" % "3.0.6-SNAP4" % "test")
} else {
Seq("org.scalatest" %%% "scalatest" % "3.0.6-SNAP6" % "test")
}
)
lazy val scalatest = Def.setting("org.scalatest" %%% "scalatest" % "3.0.8-RC2" % "test")
lazy val nativeCommonSettings = Def.settings(
// https://github.com/scalatest/scalatest/issues/1112#issuecomment-366856502
@ -51,7 +45,7 @@ lazy val commonSettings = Seq(
scalacOptions in (Compile, console) ~= { _ filterNot { o => o == "-Ywarn-unused-import" || o == "-Xfatal-warnings" } },
scalacOptions in (Test, console) := (scalacOptions in (Compile, console)).value,
scalaVersion := Scala211,
crossScalaVersions := Seq("2.10.7", Scala211, "2.12.7", "2.13.0-M5"),
crossScalaVersions := Seq("2.10.7", Scala211, "2.12.7", "2.13.0-RC1"),
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots")
@ -157,7 +151,7 @@ lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform).crossType(
nativeCommonSettings
)
.platformsSettings(JVMPlatform, JSPlatform)(
libraryDependencies ++= scalatestSetting.value
libraryDependencies += scalatest.value
)
.platformsSettings(JSPlatform, NativePlatform)(
excludeFilter in (Test, unmanagedSources) := "jvm.scala"
@ -178,7 +172,7 @@ lazy val examples = crossProject(JSPlatform, JVMPlatform, NativePlatform).crossT
.settings(moduleName := "simulacrum-examples")
.settings(noPublishSettings: _*)
.platformsSettings(JVMPlatform, JSPlatform)(
libraryDependencies ++= scalatestSetting.value
libraryDependencies += scalatest.value
)
.nativeSettings(
nativeCommonSettings