Skip to content

Commit

Permalink
silence
Browse files Browse the repository at this point in the history
  • Loading branch information
dmivankov committed Nov 20, 2024
1 parent 09508a2 commit 236c5d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ lazy val commonSettings = Seq(
licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")),
homepage := Some(url("https://github.com/cognitedata/cdp-spark-datasource")),
scalacOptions ++= Seq("-Xlint:unused", "-language:higherKinds", "-deprecation", "-feature") ++ (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, _)) => Seq(
"-Wconf:msg=discarded non-Unit value of type org.scalatest.Assertion:s",
"-Wconf:msg=discarded non-Unit value of type org.scalatest.compatible.Assertion:s",
)
// We use JavaConverters to remain backwards compatible with Scala 2.12,
// and to avoid a dependency on scala-collection-compat
case Some((2, 13)) => Seq(
Expand Down

0 comments on commit 236c5d9

Please sign in to comment.