@@ -14,13 +14,20 @@ lazy val commonSettings = Seq(
1414 |See the NOTICE file distributed with this work for
1515 |additional information regarding copyright ownership.
1616 | """ .stripMargin)),
17- scalaModuleMimaPreviousVersion := None // TODO: change to `Some("3.0.0") once we publish
17+ scalaModuleMimaPreviousVersion := Some (" 2.1.6" ),
18+ mimaBinaryIssueFilters ++= {
19+ import com .typesafe .tools .mima .core ._
20+ import com .typesafe .tools .mima .core .ProblemFilters ._
21+ Seq (
22+ exclude[ReversedMissingMethodProblem ](" scala.collection.compat.PackageShared.*" ), // it's package-private
23+ )
24+ }
1825)
1926
2027lazy val root = project
2128 .in(file(" ." ))
2229 .settings(commonSettings)
23- .settings(name := " scala-library -compat" )
30+ .settings(name := " scala-collection -compat" )
2431 .settings(dontPublish)
2532 .aggregate(
2633 compat211JVM,
@@ -56,8 +63,8 @@ lazy val compat = MultiScalaCrossProject(JSPlatform, JVMPlatform, NativePlatform
5663 _.settings(scalaModuleSettings)
5764 .settings(commonSettings)
5865 .settings(
59- name := " scala-library -compat" ,
60- moduleName := " scala-library -compat" ,
66+ name := " scala-collection -compat" ,
67+ moduleName := " scala-collection -compat" ,
6168 scalacOptions ++= Seq (" -feature" , " -language:higherKinds" , " -language:implicitConversions" ),
6269 unmanagedSourceDirectories in Compile += {
6370 val sharedSourceDir = (baseDirectory in ThisBuild ).value / " compat/src/main"
@@ -72,7 +79,7 @@ lazy val compat = MultiScalaCrossProject(JSPlatform, JVMPlatform, NativePlatform
7279 .jsSettings(
7380 scalacOptions += {
7481 val x = (baseDirectory in LocalRootProject ).value.toURI.toString
75- val y = " https://raw.githubusercontent.com/scala/scala-library -compat/" + sys.process
82+ val y = " https://raw.githubusercontent.com/scala/scala-collection -compat/" + sys.process
7683 .Process (" git rev-parse HEAD" )
7784 .lineStream_!
7885 .head
0 commit comments