Skip to content

Commit

Permalink
Ignore unused warnings in generated source
Browse files Browse the repository at this point in the history
  • Loading branch information
rossabaker committed Sep 25, 2023
1 parent 30cabe1 commit fdbee47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ lazy val commonSettings = Seq(
Test / sourceGenerators += (Test / avroScalaGenerate).taskValue,
watchSources ++= ((Test / avroSourceDirectories).value ** "*.avdl").get,
Test / testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-oS"),
// Autogenerated source sometimes has unused warnings. Works for Scala 2 only!
Compile / scalacOptions += "-Wconf:src=target/.*:silent"
)

lazy val contributors = Seq(
Expand Down

0 comments on commit fdbee47

Please sign in to comment.