Skip to content

Commit 1420d13

Browse files
committed
TEMPORARY disable mima checks for new Scala 3 modules (and few moved private objects)
1 parent 847c7c7 commit 1420d13

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

build.sbt

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import Dependencies._
1+
import Dependencies.*
2+
import com.typesafe.tools.mima.core.{MissingClassProblem, ProblemFilters}
23

34
lazy val commonSettings = Seq(
45
organization := "com.evolutiongaming",
@@ -44,6 +45,9 @@ lazy val commonSettings = Seq(
4445
if3 = Nil,
4546
),
4647
licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT"))),
48+
// TEMPORARY disable mima checks for new Scala 3 modules
49+
versionCheck / skip := scalaVersion.value == "3.3.6",
50+
versionPolicyCheck / skip := scalaVersion.value == "3.3.6",
4751
)
4852

4953
val alias =
@@ -219,3 +223,13 @@ def crossSettings[T](scalaVersion: String, if3: T, if2: T): T =
219223
case version if version.startsWith("3") => if3
220224
case _ => if2
221225
}
226+
227+
ThisBuild / mimaBinaryIssueFilters ++= Seq(
228+
// add mima check exceptions here, like:
229+
ProblemFilters.exclude[MissingClassProblem](
230+
"com.evolutiongaming.akkaeffect.cluster.sharding.ClusterShardingLocal$RegionMsg$2$Rebalance$",
231+
),
232+
ProblemFilters.exclude[MissingClassProblem](
233+
"com.evolutiongaming.akkaeffect.cluster.sharding.ClusterShardingLocal$RegionMsg$2$State$",
234+
),
235+
)

0 commit comments

Comments
 (0)