Skip to content

Commit

Permalink
Add mima exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
durban committed Nov 1, 2024
1 parent 11d2019 commit 4f20a95
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
import com.typesafe.tools.mima.core.{
ProblemFilters,
MissingClassProblem,
DirectMissingMethodProblem,
ReversedMissingMethodProblem,
}

// Scala versions:
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 4f20a95

Please sign in to comment.