Skip to content

Commit 2c43291

Browse files
committed
fix MiMa
1 parent 73eb3bd commit 2c43291

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.sbt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// shadow sbt-scalajs' crossProject and CrossType until Scala.js 1.0.0 is released
2+
import com.typesafe.tools.mima.core._
23
import sbtcrossproject.{crossProject, CrossType}
34

45
val previousVersion = "1.1.0"
@@ -33,6 +34,15 @@ lazy val `portable-scala-reflect` = crossProject(JSPlatform, JVMPlatform, Native
3334

3435
mimaPreviousArtifacts +=
3536
organization.value %%% moduleName.value % previousVersion,
37+
mimaBinaryIssueFilters ++= List(
38+
ProblemFilters.exclude[DirectMissingMethodProblem]("org.portablescala.reflect.Reflect.lookupInstantiatableClass_impl"),
39+
ProblemFilters.exclude[DirectMissingMethodProblem]("org.portablescala.reflect.Reflect.lookupLoadableModuleClass_impl"),
40+
ProblemFilters.exclude[MissingClassProblem]("org.portablescala.reflect.Reflect$MacroCompat$"),
41+
ProblemFilters.exclude[MissingClassProblem]("org.portablescala.reflect.Reflect$MacroCompat$Scope1$"),
42+
ProblemFilters.exclude[MissingClassProblem]("org.portablescala.reflect.Reflect$MacroCompat$Scope1$blackbox$"),
43+
ProblemFilters.exclude[MissingClassProblem]("org.portablescala.reflect.Reflect$MacroCompat$Scope2$"),
44+
ProblemFilters.exclude[MissingClassProblem]("org.portablescala.reflect.Reflect$MacroCompat$Scope2$Inner$"),
45+
),
3646

3747
publishMavenStyle := true,
3848
publishTo := {

0 commit comments

Comments
 (0)