@@ -14,13 +14,20 @@ lazy val commonSettings = Seq(
14
14
|See the NOTICE file distributed with this work for
15
15
|additional information regarding copyright ownership.
16
16
| """ .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
+ }
18
25
)
19
26
20
27
lazy val root = project
21
28
.in(file(" ." ))
22
29
.settings(commonSettings)
23
- .settings(name := " scala-library -compat" )
30
+ .settings(name := " scala-collection -compat" )
24
31
.settings(dontPublish)
25
32
.aggregate(
26
33
compat211JVM,
@@ -56,8 +63,8 @@ lazy val compat = MultiScalaCrossProject(JSPlatform, JVMPlatform, NativePlatform
56
63
_.settings(scalaModuleSettings)
57
64
.settings(commonSettings)
58
65
.settings(
59
- name := " scala-library -compat" ,
60
- moduleName := " scala-library -compat" ,
66
+ name := " scala-collection -compat" ,
67
+ moduleName := " scala-collection -compat" ,
61
68
scalacOptions ++= Seq (" -feature" , " -language:higherKinds" , " -language:implicitConversions" ),
62
69
unmanagedSourceDirectories in Compile += {
63
70
val sharedSourceDir = (baseDirectory in ThisBuild ).value / " compat/src/main"
@@ -72,7 +79,7 @@ lazy val compat = MultiScalaCrossProject(JSPlatform, JVMPlatform, NativePlatform
72
79
.jsSettings(
73
80
scalacOptions += {
74
81
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
76
83
.Process (" git rev-parse HEAD" )
77
84
.lineStream_!
78
85
.head
0 commit comments