Skip to content

Commit 720ed98

Browse files
committed
No -Xfatal-warnings for Scala 3
1 parent 50b851e commit 720ed98

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
@@ -98,6 +98,15 @@ lazy val commonSettings = Seq(
9898
}
9999
},
100100
scalacOptions ++= { if (isDotty.value) Seq.empty else Seq("-target:jvm-1.8") },
101+
scalacOptions --= {
102+
if (isDotty.value)
103+
List(
104+
"-Xfatal-warnings"
105+
)
106+
else
107+
List(
108+
)
109+
},
101110
javaOptions ++= Seq("-Dfile.encoding=UTF8"),
102111
autoAPIMappings := true,
103112
Compile / doc / sources := { if (isDotty.value) Seq() else (Compile / doc / sources).value },

0 commit comments

Comments
 (0)