From de717bb205475478bb150e37cdfeac41b695d8c7 Mon Sep 17 00:00:00 2001 From: etorreborre Date: Sun, 6 Aug 2023 11:17:29 +0200 Subject: [PATCH] project: add mima exclusions because of the rework on the json matchers internals --- build.sbt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index ecd2834c9..164393f59 100644 --- a/build.sbt +++ b/build.sbt @@ -89,7 +89,13 @@ lazy val mimaSettings = // made the signature more specific but also more correct ProblemFilters.exclude[DirectMissingMethodProblem]("org.specs2.reporter.HtmlBodyPrinter.printStatistics"), // fixed warnings when upgrading to Scala 3.1.3: https://github.com/etorreborre/specs2/commit/763891e99b8ab74cfeb58b557968f17c84b2b3b2 - ProblemFilters.exclude[ReversedMissingMethodProblem]("org.specs2.specification.dsl.mutable.ReferenceDsl.*") + ProblemFilters.exclude[ReversedMissingMethodProblem]("org.specs2.specification.dsl.mutable.ReferenceDsl.*"), + // reworked the internals of the json matchers + ProblemFilters.exclude[DirectMissingMethodProblem]("org.specs2.matcher.JsonMatchers#JsonMatcher.anyValueToJsonType"), + ProblemFilters.exclude[DirectMissingMethodProblem]("org.specs2.matcher.JsonSelectors*"), + ProblemFilters.exclude[MissingClassProblem]("org.specs2.matcher.JsonSelectors*"), + ProblemFilters.exclude[ReversedMissingMethodProblem]("org.specs2.matcher.JsonSelectors*"), + ProblemFilters.exclude[MissingTypesProblem]("org.specs2.matcher.JsonSelectors*") ) )