From e1fc94dfd4d5f83517f147a771fd129b05f1b2be Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sun, 27 May 2018 18:35:35 -0400 Subject: [PATCH] Scala 2.13.0-M4 --- build.sbt | 14 ++++++++++++++ project/Dependencies.scala | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 7142bb52..f8323f39 100644 --- a/build.sbt +++ b/build.sbt @@ -58,4 +58,18 @@ val io = (project in file("io")) // protected[this] exclude[DirectMissingMethodProblem]("sbt.io.CopyOptions.copy*"), ), + scalacOptions := { + val old = scalacOptions.value + scalaBinaryVersion.value match { + case "2.12" => old + case _ => + old filterNot Set( + "-Xfatal-warnings", + "-deprecation", + "-Ywarn-unused", + "-Ywarn-unused-import", + "-Yno-adapted-args", + ) + } + } ) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 0ce2eb64..b62d1584 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -5,7 +5,7 @@ object Dependencies { val scala210 = "2.10.7" val scala211 = "2.11.12" val scala212 = "2.12.6" - val scala213 = "2.13.0-M3" + val scala213 = "2.13.0-M4" val scalaCompiler = Def.setting { "org.scala-lang" % "scala-compiler" % scalaVersion.value }