Skip to content

Commit faae242

Browse files
committed
re-enable sbt-version-policy
fixes scala#617
1 parent fc55861 commit faae242

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.sbt

+5-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
6262
|additional information regarding copyright ownership.
6363
|""".stripMargin)),
6464

65-
// should be reverted to Compatibility.BinaryAndSourceCompatible after 2.2.0 is released
66-
versionPolicyIntention := Compatibility.None,
65+
versionPolicyIntention := Compatibility.BinaryCompatible,
6766
// Note: See discussion on non-JVM Mima in https://github.com/scala/scala-xml/pull/517
6867
mimaBinaryIssueFilters ++= {
6968
import com.typesafe.tools.mima.core._
@@ -130,11 +129,15 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
130129
}),
131130
)
132131
.jsSettings(
132+
versionPolicyCheck / skip := true,
133+
versionCheck / skip := true,
133134
// Scala.js cannot run forked tests
134135
Test / fork := false
135136
)
136137
.jsEnablePlugins(ScalaJSJUnitPlugin)
137138
.nativeSettings(
139+
versionPolicyCheck / skip := true,
140+
versionCheck / skip := true,
138141
// Scala Native cannot run forked tests
139142
Test / fork := false,
140143
libraryDependencies += "org.scala-native" %%% "junit-runtime" % nativeVersion % Test,

0 commit comments

Comments
 (0)