From c83b0d9610903b341b7f44e8eb4f18f43159dc70 Mon Sep 17 00:00:00 2001 From: "Aaron S. Hawley" Date: Fri, 6 Apr 2018 23:02:31 -0400 Subject: [PATCH] Enable MiMa for JS and increment prev version --- build.sbt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 2dbff0b85..6ab70abbe 100644 --- a/build.sbt +++ b/build.sbt @@ -27,6 +27,8 @@ lazy val xml = crossProject.in(file(".")) scalacOptions ++= "-deprecation:false -feature -Xlint:-stars-align,-nullary-unit,_".split("\\s+").to[Seq], scalacOptions in Test += "-Xxml:coalescing", + mimaPreviousVersion := Some("1.1.0"), + apiMappings ++= Map( scalaInstance.value.libraryJar -> url(s"http://www.scala-lang.org/api/${scalaVersion.value}/") @@ -54,9 +56,6 @@ lazy val xml = crossProject.in(file(".")) .jvmSettings( OsgiKeys.exportPackage := Seq(s"scala.xml.*;version=${version.value}"), - // there is currently no previous released JS version, therefore MiMa is enabled only on JVM - mimaPreviousVersion := Some("1.0.6"), - libraryDependencies += "junit" % "junit" % "4.12" % "test", libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test", libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.5" % "test",