Description
Currently existing solution to have build to fail on any warning except deprecation ones (https://github.com/apache/spark/blob/v3.0.1/project/SparkBuild.scala#L285) is not very maintainable in scope of build upgrade to latest sbt.
At upgrade to sbt 1.4.0 this snippet would fail build import at all.
Implement new solution, using switch over compiler versions, silencer compiler plugin for Scala prior 2.13.2 and built-in warning configuration since Scala 2.13.2
Depends on changes for SPARK-21708
Attachments
Issue Links
- Dependency
-
SPARK-21708 Migrate build to sbt 1.3.13
- Resolved
- is related to
-
SPARK-32869 Ignore deprecation warnings for build with Scala-2.13 and sbt
- Resolved
- links to