Remove doclint from javac for docs (#29476)

This commit is contained in:
Christopher Batey 2020-08-12 08:12:08 +01:00 committed by GitHub
parent c41c0420ad
commit 4826477c36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,7 @@ object AkkaDisciplinePlugin extends AutoPlugin {
if (!nonFatalJavaWarningsFor(name.value)) Seq("-Werror", "-Xlint:deprecation", "-Xlint:unchecked")
else Seq.empty
),
Compile / javacOptions in doc := Seq(),
Compile / javacOptions in doc := Seq("-Xdoclint:none"),
Compile / scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 13)) =>
disciplineScalacOptions -- Set(