From 89db315d2d961ce9de28ac230dd590bc213bdcbb Mon Sep 17 00:00:00 2001 From: Hugo van Rijswijk Date: Thu, 26 Oct 2023 14:36:17 +0200 Subject: [PATCH] Update binary issues filter --- build.sbt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/build.sbt b/build.sbt index cab30ba1..8d5effff 100644 --- a/build.sbt +++ b/build.sbt @@ -1,3 +1,7 @@ +import com.typesafe.tools.mima.core.DirectMissingMethodProblem +import com.typesafe.tools.mima.core.MissingClassProblem +import com.typesafe.tools.mima.core.ProblemFilters + Global / onChangedBuildSource := ReloadOnSourceChanges ThisBuild / crossScalaVersions := List("3.3.1") @@ -10,6 +14,17 @@ lazy val root = tlCrossRootProject.aggregate(crystal) lazy val crystal = crossProject(JVMPlatform, JSPlatform) .in(file(".")) .settings( + mimaBinaryIssueFilters ++= Seq( + // Replaced with InvariantSemigroupal + ProblemFilters + .exclude[DirectMissingMethodProblem]("crystal.package#package.given_Invariant_ViewF"), + ProblemFilters + .exclude[DirectMissingMethodProblem]("crystal.package#package.given_Semigroupal_ViewF"), + ProblemFilters + .exclude[MissingClassProblem]("crystal.package$package$given_Invariant_ViewF"), + ProblemFilters + .exclude[MissingClassProblem]("crystal.package$package$given_Semigroupal_ViewF") + ), scalacOptions += "-language:implicitConversions", libraryDependencies ++= Settings.Libraries.CatsJS.value ++