Skip to content

Commit 0aa2f52

Browse files
committed
wip: allow scaladoc warnings, allow warnings on Dotty
1 parent 0cb054d commit 0aa2f52

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.sbt

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@ Global / cancelable := true
22
publish / skip := true // in root
33

44
Global / scalacOptions ++= (
5-
if (isDotty.value) Seq("-Xfatal-warnings", "-language:implicitConversions")
6-
else Seq("-Werror"))
5+
if (isDotty.value) Seq("-language:implicitConversions")
6+
else Seq()
7+
)
78

89
lazy val commonSettings: Seq[Setting[_]] =
910
ScalaModulePlugin.scalaModuleSettings ++ Seq(
1011
Compile / compile / scalacOptions --= (if (isDotty.value) Seq("-Xlint")
1112
else Seq()),
13+
Compile / compile / scalacOptions ++= (if (isDotty.value) Seq("")
14+
else Seq("-Werror")),
1215
)
1316

1417
lazy val core = project.in(file("core"))

0 commit comments

Comments
 (0)