From 86636e524a81a956a174d4324a6fd4e04ad157b4 Mon Sep 17 00:00:00 2001 From: "Kirill A. Korinsky" Date: Sun, 3 Apr 2022 02:56:22 +0200 Subject: [PATCH 1/2] Cleanup hack for 2.0.2 release --- build.sbt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/build.sbt b/build.sbt index e72ac929..a7a1e85c 100644 --- a/build.sbt +++ b/build.sbt @@ -141,14 +141,6 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform) .jsEnablePlugins(ScalaJSJUnitPlugin) .nativeSettings( crossScalaVersions := Seq("2.13.8", "2.12.15", "3.1.1"), - mimaPreviousArtifacts := { - // TODO remove this setting when 2.0.2 released - if (scalaBinaryVersion.value == "3") { - mimaPreviousArtifacts.value.filterNot(_.revision == "2.0.1") - } else { - mimaPreviousArtifacts.value - } - }, // Scala Native cannot run forked tests Test / fork := false, libraryDependencies += "org.scala-native" %%% "junit-runtime" % nativeVersion % Test, From 636708acf2995510b712e252a6223b21d2ad9b93 Mon Sep 17 00:00:00 2001 From: "Kirill A. Korinsky" Date: Mon, 4 Apr 2022 12:19:08 +0200 Subject: [PATCH 2/2] Switch back to BinaryAndSourceCompatible --- build.sbt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index a7a1e85c..6a938d80 100644 --- a/build.sbt +++ b/build.sbt @@ -67,8 +67,7 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform) |additional information regarding copyright ownership. |""".stripMargin)), - // Note: Change back to BinaryAndSourceCompatible after 2.1.0 release - versionPolicyIntention := Compatibility.BinaryCompatible, + versionPolicyIntention := Compatibility.BinaryAndSourceCompatible, // Note: See discussion on non-JVM Mima in https://github.com/scala/scala-xml/pull/517 mimaBinaryIssueFilters ++= { import com.typesafe.tools.mima.core._