diff --git a/build.sbt b/build.sbt index 8c31de49e..a3b7003ee 100644 --- a/build.sbt +++ b/build.sbt @@ -340,6 +340,7 @@ lazy val utilLogging = project Test / fork := true, mimaSettings, mimaBinaryIssueFilters ++= Seq( + ProblemFilters.exclude[MissingClassProblem]("com.github.ghik.silencer.silent") ), ) .configure(addSbtIO) diff --git a/internal/util-logging/src/main/scala/com/github/ghik/silencer/silent.scala b/internal/util-logging/src/main/scala/com/github/ghik/silencer/silent.scala deleted file mode 100644 index 239379461..000000000 --- a/internal/util-logging/src/main/scala/com/github/ghik/silencer/silent.scala +++ /dev/null @@ -1,18 +0,0 @@ -/* - * sbt - * Copyright 2023, Scala center - * Copyright 2011 - 2022, Lightbend, Inc. - * Copyright 2008 - 2010, Mark Harrah - * Licensed under Apache License 2.0 (see LICENSE) - */ - -package com.github.ghik.silencer - -import scala.annotation.Annotation - -/** - * When silencer compiler plugin is enabled, this annotation suppresses all warnings emitted by - * scalac for some portion of source code. It can be applied on any definition (`class`, def`, - * `val`, `var`, etc.) or on arbitrary expression, e.g. {123; 456}: @silent` - */ -class silent extends Annotation