Skip to content

Commit

Permalink
Switch to scala 2.13.0 (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault authored Jun 10, 2019
1 parent 76582de commit 294ff5c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- scala: 2.10.7
- scala: 2.11.12
- scala: 2.12.8
- scala: 2.13.0-RC1
- scala: 2.13.0
- stage: release
script: sbt ci-release
branches:
Expand Down
9 changes: 8 additions & 1 deletion project/Deps.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import sbt._
import sbt.Keys.scalaVersion

import org.portablescala.sbtplatformdeps.PlatformDepsPlugin.autoImport._

Expand All @@ -8,5 +9,11 @@ object Deps {

def scalacheck = setting("org.scalacheck" %%% "scalacheck" % "1.14.0")
def shapeless = setting("com.chuusai" %%% "shapeless" % "2.3.3")
def utest = setting("com.lihaoyi" %%% "utest" % "0.6.7")
def utest = setting {
val sv = scalaVersion.value
val ver =
if (sv.startsWith("2.10.") || sv.startsWith("2.11.")) "0.6.7"
else "0.6.9"
"com.lihaoyi" %%% "utest" % ver
}
}
2 changes: 1 addition & 1 deletion project/Settings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object Settings {
private def scala210 = "2.10.7"
private def scala211 = "2.11.12"
private def scala212 = "2.12.8"
private def scala213 = "2.13.0-RC1"
private def scala213 = "2.13.0"

lazy val shared = Seq(
scalaVersion := scala212,
Expand Down

0 comments on commit 294ff5c

Please sign in to comment.