mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-22 22:36:34 +01:00
Filter warnings on doc for publishing (#1484)
This commit is contained in:
parent
ccbc68d668
commit
b5853818ff
1 changed files with 5 additions and 1 deletions
|
@ -47,9 +47,13 @@ object CommonSettings {
|
|||
|| s =="-Ywarn-unused"
|
||||
//for 2.13 -- they use different compiler opts
|
||||
|| s == "-Xlint:unused")),
|
||||
|
||||
//we don't want -Xfatal-warnings for publishing with publish/publishLocal either
|
||||
scalacOptions in (Compile,doc) ~= (_ filterNot (s =>
|
||||
s == "-Xfatal-warnings")),
|
||||
|
||||
scalacOptions in (Test, console) := (scalacOptions in (Compile, console)).value,
|
||||
scalacOptions in Test := testCompilerOpts,
|
||||
|
||||
Compile / compile / javacOptions ++= {
|
||||
if (isCI) {
|
||||
//jdk11 is used on CI, we need to use the --release flag to make sure
|
||||
|
|
Loading…
Add table
Reference in a new issue