Skip to content

Commit bf6fe03

Browse files
committed
Disable scaladoc warnings on 2.12 and 2.13
1 parent 280f3c3 commit bf6fe03

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ lazy val core = crossProject(JVMPlatform, JSPlatform, NativePlatform)
7676
if (tlIsScala3.value) Nil
7777
else List("org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided")
7878
},
79-
scalacOptions := scalacOptions.value.filterNot(_ == "-source:3.0-migration")
79+
scalacOptions := scalacOptions.value.filterNot(_ == "-source:3.0-migration"),
80+
Compile / doc / scalacOptions ++= (if (scalaVersion.value.startsWith("2.")) Seq("-nowarn")
81+
else Nil)
8082
)
8183
.settings(
8284
libraryDependencies ++= Seq(

0 commit comments

Comments
 (0)