From b23ee265bf7a47aaa8bc96b6a684502172fc8c23 Mon Sep 17 00:00:00 2001 From: Michel Davit Date: Mon, 21 Oct 2024 10:07:09 +0200 Subject: [PATCH] Setup silence warnings for imports in scala 3 --- build.sbt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 24cc6030..ac3a953f 100644 --- a/build.sbt +++ b/build.sbt @@ -286,7 +286,11 @@ val commonSettings = Seq( "-Yretain-trees", // tolerate some nested macro expansion "-Xmax-inlines", - "64" + "64", + // silence warnings + "-Wconf:cat=unused-imports&origin=scala\\.collection\\.compat\\..*:s" + + ",cat=unused-imports&origin=magnolify\\.shims\\..*:s" + + ",cat=unused-imports&origin=magnolify\\.scalacheck\\.MoreCollectionsBuildable\\..*:s" ) case Some((2, 13)) => Seq(