Skip to content

Commit

Permalink
Scala 2.13.0-M4
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed May 27, 2018
1 parent 0b1c1b0 commit e1fc94d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
}
}
)
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down

0 comments on commit e1fc94d

Please sign in to comment.