Skip to content

Commit ade7577

Browse files
committed
Enable MiMa for JS and increment prev version
1 parent 8998e4f commit ade7577

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build.sbt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ lazy val xml = crossProject.in(file("."))
2525
scalacOptions ++= "-deprecation:false -feature -Xlint:-stars-align,-nullary-unit,_".split("\\s+").to[Seq],
2626
scalacOptions in Test += "-Xxml:coalescing",
2727

28+
mimaPreviousVersion := Some("1.1.0"),
29+
2830
apiMappings ++= Map(
2931
scalaInstance.value.libraryJar
3032
-> url(s"http://www.scala-lang.org/api/${scalaVersion.value}/")
@@ -52,9 +54,6 @@ lazy val xml = crossProject.in(file("."))
5254
.jvmSettings(
5355
OsgiKeys.exportPackage := Seq(s"scala.xml.*;version=${version.value}"),
5456

55-
// there is currently no previous released JS version, therefore MiMa is enabled only on JVM
56-
mimaPreviousVersion := Some("1.0.6"),
57-
5857
libraryDependencies += "junit" % "junit" % "4.12" % "test",
5958
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test",
6059
libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.5" % "test",

0 commit comments

Comments
 (0)