sbt / sbt-validator

Builds sbt 1.0.x against recent versions of the sbt modules
3 stars 9 forks source link

Pass in -Dsbt.build.fatal=false #32

Closed eed3si9n closed 5 years ago

eed3si9n commented 5 years ago

This turns off -Xfatal-warnings in the nightly build used together with sbt-houserules.

Ref https://github.com/sbt/sbt-houserules/pull/27

eed3si9n commented 5 years ago

This is to workaround deprecation warnings that are not immediately not fixed. https://jenkins.scala-sbt.org:8592/job/sbt-validator/1060/consoleFull

[sbt212] [error] /home/jenkinssbt/workspace/sbt-validator/target-0.9.14/project-builds/sbt212-58c17587c6969387d875c00d77903c5ed09b2d2a/main-command/src/main/scala/sbt/Watched.scala:119:13: method apply in object EventMonitor is deprecated (since 1.3.0): This method is no longer used in sbt. It exists for legacy binary compatibility within the 1.x series.
[sbt212] [error]             EventMonitor(
[sbt212] [error]             ^
[sbt212] [error] /home/jenkinssbt/workspace/sbt-validator/target-0.9.14/project-builds/sbt212-58c17587c6969387d875c00d77903c5ed09b2d2a/main-command/src/main/scala/sbt/Watched.scala:150:18: trait EventMonitor in package io is deprecated (since 1.3.0): This has been removed in favor of FileEventMonitor
[sbt212] [error]     AttributeKey[EventMonitor](
[sbt212] [error]                  ^
[sbt212] [error] two errors found