Skip to content

Commit

Permalink
Upgrade to Scala 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilquist committed May 14, 2021
1 parent bf431f0 commit db8c7fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import sbtcrossproject.CrossPlugin.autoImport.{ CrossType, crossProject }
import sbt._
import sbt.io.Using

val scalaVer = "3.0.0-RC3"
val scalaVer = "3.0.0"
val tzdbVersion = "2019c"
val scalajavaLocalesVersion = "1.1.3"
Global / onChangedBuildSource := ReloadOnSourceChanges
Expand Down Expand Up @@ -213,7 +213,7 @@ lazy val scalajavatimeTests = crossProject(JVMPlatform, JSPlatform)
Keys.`package` := file(""),
Compile / skip := isDotty.value,
libraryDependencies +=
("org.scalatest" %%% "scalatest" % "3.2.9" % "test").withDottyCompat(scalaVersion.value),
"org.scalatest" %%% "scalatest" % "3.2.9" % "test",
scalacOptions ~= (_.filterNot(
Set("-Wnumeric-widen", "-Ywarn-numeric-widen", "-Ywarn-value-discard", "-Wvalue-discard")
))
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.16")

addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.7")

addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.5.4")
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.5.5")

0 comments on commit db8c7fb

Please sign in to comment.