Silence all scaladoc warnings (#3336)

This commit is contained in:
Chris Stewart 2021-06-28 07:14:09 -05:00 committed by GitHub
parent 04d937d4f4
commit cb5ec20eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,6 @@ assembly / assemblyMergeStrategy := {
case _ => MergeStrategy.first
}
Compile / doc := (target.value / "none")
// general package information (can be scoped to Windows)
maintainer := "Chris Stewart <stewart.chris1234@gmail.com>"
// Will say "Welcome to the <packageSummary> Setup Wizard"

View File

@ -55,6 +55,9 @@ object CommonSettings {
//we don't want -Xfatal-warnings for publishing with publish/publishLocal either
Compile / doc / scalacOptions ~= (_ filterNot (s =>
s == "-Xfatal-warnings")),
//silence all scaladoc warnings generated from invalid syntax
//see: https://github.com/bitcoin-s/bitcoin-s/issues/3232
Compile / doc / scalacOptions ++= Vector(s"-Wconf:any:ws"),
Test / console / scalacOptions ++= (Compile / console / scalacOptions).value,
Test / scalacOptions ++= testCompilerOpts(scalaVersion.value),
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),