diff --git a/build.sbt b/build.sbt index 33b5269a..c858e697 100644 --- a/build.sbt +++ b/build.sbt @@ -15,7 +15,9 @@ lazy val TestSettings = Seq( Test / parallelExecution := false, Test / logBuffered := false, Test / testOptions += Tests.Argument("-oD"), - libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.18" % Test + libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.18" % Test, + // https://github.com/typelevel/sbt-tpolecat/tree/v0.5.1?tab=readme-ov-file#scalatest-warnings + Test / tpolecatExcludeOptions += ScalacOptions.warnNonUnitStatement ) lazy val `elastiknn-root` = project diff --git a/project/plugins.sbt b/project/plugins.sbt index d6989ed7..e736ceca 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,3 +1,3 @@ addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.7") -addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.0") +addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.1") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")