Skip to content

Commit 696eb3c

Browse files
authored
Merge pull request #205 from ashawley/mima-previous-version
Enable MiMa for JS and increment prev version
2 parents 10fa231 + c83b0d9 commit 696eb3c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build.sbt

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

30+
mimaPreviousVersion := Some("1.1.0"),
31+
3032
apiMappings ++= Map(
3133
scalaInstance.value.libraryJar
3234
-> url(s"http://www.scala-lang.org/api/${scalaVersion.value}/")
@@ -54,9 +56,6 @@ lazy val xml = crossProject.in(file("."))
5456
.jvmSettings(
5557
OsgiKeys.exportPackage := Seq(s"scala.xml.*;version=${version.value}"),
5658

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

0 commit comments

Comments
 (0)