Skip to content

Commit fe2b547

Browse files
committed
Disable Mima signature check on Scala 3.0.2
1 parent 5f30424 commit fe2b547

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.sbt

+5-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
5959
// Note: Change back to BinaryAndSourceCompatible after 2.1.0 release
6060
versionPolicyIntention := Compatibility.BinaryCompatible,
6161
// Note: See discussion on non-JVM Mima in https://github.com/scala/scala-xml/pull/517
62-
mimaReportSignatureProblems := true,
6362
mimaBinaryIssueFilters ++= {
6463
import com.typesafe.tools.mima.core._
6564
import com.typesafe.tools.mima.core.ProblemFilters._
@@ -70,6 +69,11 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
7069
exclude[DirectMissingMethodProblem]("scala.xml.include.sax.XIncluder.declaration"),
7170
)
7271
},
72+
// Mima signature checking stopped working after 3.0.2 upgrade, see #557
73+
mimaReportSignatureProblems := (CrossVersion.partialVersion(scalaVersion.value) match {
74+
case Some((3, _)) => false
75+
case _ => true
76+
}),
7377

7478
apiMappings ++= scalaInstance.value.libraryJars.filter { file =>
7579
file.getName.startsWith("scala-library") && file.getName.endsWith(".jar")

0 commit comments

Comments
 (0)