Skip to content

Commit

Permalink
Update MiMa versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahgerweck committed Jun 10, 2019
1 parent 6f9a4cc commit e978c33
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions build.sbt
Expand Up @@ -123,12 +123,13 @@ lazy val core = (crossProject(JSPlatform, JVMPlatform) in file ("core"))
"1.6.0", "1.6.1", "1.6.0", "1.6.1",
"1.7.0", "1.7.0",
"1.8.0", "1.8.1") "1.8.0", "1.8.1")
def `2.13Versions` =
Set("1.8.2")
scalaBinaryVersion.value match { scalaBinaryVersion.value match {
case "2.10" | "2.11" => `2.11Versions` ++ `2.12Versions` case "2.10" | "2.11" => `2.11Versions` ++ `2.12Versions` ++ `2.13Versions`
case "2.12" => `2.12Versions` case "2.12" => `2.12Versions` ++ `2.13Versions`
case "2.13.0-RC1" | "2.13.0-RC2" => Set("1.8.0", "1.8.1") case "2.13" => `2.13Versions`
case "2.13.0-RC3" => Set("1.8.1") case other =>
case other =>
sLog.value.info(s"No known MIMA artifacts for: $other") sLog.value.info(s"No known MIMA artifacts for: $other")
Set.empty Set.empty
} }
Expand Down Expand Up @@ -157,9 +158,11 @@ lazy val testing = (crossProject(JSPlatform, JVMPlatform) in file ("testing"))
) )
.jvmSettings( .jvmSettings(
prevVersions := { prevVersions := {
val `2.12Versions` = Set("1.5.0", "1.6.0", "1.6.1", "1.7.0", "1.8.0", "1.8.1")
val `2.13Versions` = Set("1.8.2")
scalaBinaryVersion.value match { scalaBinaryVersion.value match {
case "2.10" | "2.11" | "2.12" => case "2.10" | "2.11" | "2.12" => `2.12Versions` ++ `2.13Versions`
Set("1.5.0", "1.6.0", "1.6.1", "1.7.0", "1.8.0", "1.8.1") case "2.13" => `2.13Versions`
case other => case other =>
Set.empty Set.empty
} }
Expand Down

0 comments on commit e978c33

Please sign in to comment.