From faae2429273992e0119fe0518e59d2a1e7068996 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Fri, 20 Jan 2023 18:43:09 -0800 Subject: [PATCH 1/2] re-enable sbt-version-policy fixes #617 --- build.sbt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 8eda4f7f..38272a18 100644 --- a/build.sbt +++ b/build.sbt @@ -62,8 +62,7 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform) |additional information regarding copyright ownership. |""".stripMargin)), - // should be reverted to Compatibility.BinaryAndSourceCompatible after 2.2.0 is released - versionPolicyIntention := Compatibility.None, + versionPolicyIntention := Compatibility.BinaryCompatible, // Note: See discussion on non-JVM Mima in https://github.com/scala/scala-xml/pull/517 mimaBinaryIssueFilters ++= { import com.typesafe.tools.mima.core._ @@ -130,11 +129,15 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform) }), ) .jsSettings( + versionPolicyCheck / skip := true, + versionCheck / skip := true, // Scala.js cannot run forked tests Test / fork := false ) .jsEnablePlugins(ScalaJSJUnitPlugin) .nativeSettings( + versionPolicyCheck / skip := true, + versionCheck / skip := true, // Scala Native cannot run forked tests Test / fork := false, libraryDependencies += "org.scala-native" %%% "junit-runtime" % nativeVersion % Test, From 5371522e99ab82afa691b8685abe33fabea83de2 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Fri, 20 Jan 2023 19:12:22 -0800 Subject: [PATCH 2/2] wip --- build.sbt | 2 -- 1 file changed, 2 deletions(-) diff --git a/build.sbt b/build.sbt index 38272a18..ce0a8505 100644 --- a/build.sbt +++ b/build.sbt @@ -129,8 +129,6 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform) }), ) .jsSettings( - versionPolicyCheck / skip := true, - versionCheck / skip := true, // Scala.js cannot run forked tests Test / fork := false )