From 4f20a9551a231984a500e4d2a83b29403d29d4dc Mon Sep 17 00:00:00 2001 From: Daniel Urban Date: Fri, 1 Nov 2024 20:57:01 +0100 Subject: [PATCH] Add mima exclusions --- build.sbt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 713501c8..6d6989da 100644 --- a/build.sbt +++ b/build.sbt @@ -18,6 +18,8 @@ import com.typesafe.tools.mima.core.{ ProblemFilters, MissingClassProblem, + DirectMissingMethodProblem, + ReversedMissingMethodProblem, } // Scala versions: @@ -244,7 +246,14 @@ lazy val mcas = crossProject(JVMPlatform, JSPlatform) .jvmSettings(commonSettingsJvm) .jsSettings(commonSettingsJs) .dependsOn(skiplist % "compile->compile;test->test") - .settings(libraryDependencies += dependencies.catsKernel.value) // TODO: we only need this due to `Order` + .settings( + libraryDependencies += dependencies.catsKernel.value, // TODO: we only need this due to `Order` + mimaBinaryIssueFilters ++= Seq( + // there is no backward compat for `choam-mcas`: + ProblemFilters.exclude[DirectMissingMethodProblem]("dev.tauri.choam.internal.mcas.Descriptor.versionCas"), + ProblemFilters.exclude[ReversedMissingMethodProblem]("dev.tauri.choam.internal.mcas.AbstractDescriptor.hwdIterator"), + ), + ) lazy val skiplist = crossProject(JVMPlatform, JSPlatform) .crossType(CrossType.Full)