From a0365658a819db1b0f5bf3eb1dbf1670feb124de Mon Sep 17 00:00:00 2001 From: Alexey Shuksto Date: Thu, 3 Aug 2023 15:20:30 +0300 Subject: [PATCH] add 'sbtversionpolicy.DependencyCheckReport$SemVerVersion*' to MIMA filters --- build.sbt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 9adf44e..c0f4fd6 100644 --- a/build.sbt +++ b/build.sbt @@ -1,3 +1,4 @@ +import com.typesafe.tools.mima.core._ inThisBuild(List( organization := "ch.epfl.scala", @@ -37,5 +38,9 @@ lazy val `sbt-version-policy` = project "io.get-coursier" %% "versions" % "0.3.1", "com.eed3si9n.verify" %% "verify" % "2.0.1" % Test, ), - testFrameworks += new TestFramework("verify.runner.Framework") + testFrameworks += new TestFramework("verify.runner.Framework"), + mimaBinaryIssueFilters ++= Seq( + // this class is `private` and it's only used from `extractSemVerNumbers` method, which is private + ProblemFilters.exclude[MissingClassProblem]("sbtversionpolicy.DependencyCheckReport$SemVerVersion*") + ), )