diff --git a/.travis.yml b/.travis.yml index 11d4992..73ceb47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ scala: env: - ADOPTOPENJDK=8 SCALAJS_VERSION= - - ADOPTOPENJDK=8 SCALAJS_VERSION=1.6.0 + - ADOPTOPENJDK=8 SCALAJS_VERSION=1.7.0 - ADOPTOPENJDK=11 SCALAJS_VERSION= - ADOPTOPENJDK=17 SCALAJS_VERSION= diff --git a/build.sbt b/build.sbt index b8f0fe7..178432e 100644 --- a/build.sbt +++ b/build.sbt @@ -13,6 +13,7 @@ lazy val collectionContrib = crossProject(JVMPlatform, JSPlatform) .settings(ScalaModulePlugin.scalaModuleSettings) .settings( name := "scala-collection-contrib", + versionPolicyIntention := Compatibility.BinaryCompatible, scalaModuleAutomaticModuleName := Some("scala.collection.contrib"), scalacOptions ++= Seq("-opt-warnings", "-language:higherKinds", "-deprecation", "-feature", "-Xfatal-warnings"), scalacOptions in (Compile, doc) ++= Seq("-implicits", "-groups"), @@ -23,9 +24,6 @@ lazy val collectionContrib = crossProject(JVMPlatform, JSPlatform) "com.novocode" % "junit-interface" % "0.11" % Test, ), ) - .jvmSettings( - scalaModuleMimaPreviousVersion := Some("0.1.0") - ) .jsEnablePlugins(ScalaJSJUnitPlugin) .jsSettings( // Scala.js cannot run forked tests diff --git a/project/plugins.sbt b/project/plugins.sbt index 11ce096..be182be 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,7 +1,7 @@ val scalaJSVersion = - Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("1.6.0") + Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("1.7.0") -addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.3.1") +addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.4.0") addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.1.0") addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)