Skip to content

Commit fdfbde7

Browse files
committed
Update scalacOptions
1 parent 0dcd4e9 commit fdfbde7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.sbt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"
2020
publishMavenStyle := true
2121
scalacOptions ++= Seq("-deprecation", "-feature", "-language:implicitConversions")
2222

23+
scalacOptions ++= {
24+
scalaBinaryVersion.value match {
25+
case "3" =>
26+
Nil
27+
case _ =>
28+
Seq("-release:8")
29+
}
30+
}
31+
2332
val unusedWarnings = Def.setting(
2433
scalaBinaryVersion.value match {
2534
case "2.12" =>

0 commit comments

Comments
 (0)