@@ -11,16 +11,21 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
11
11
.settings(
12
12
ScalaModulePlugin .scalaModuleSettings,
13
13
name := " scala-parser-combinators" ,
14
+
15
+ // once https://github.com/lightbend/mima/issues/630 is fixed and sbt-scala-module
16
+ // adopts the fixed version, we'll be able to just do:
17
+ // scalaModuleMimaPreviousVersion := Some("2.0.0"),
18
+ // but for the time being we must still:
14
19
scalaModuleMimaPreviousVersion := (CrossVersion .partialVersion(scalaVersion.value) match {
15
- // pending resolution of https://github.com/scalacenter/sbt-version-policy/issues/62
16
- case Some ((3 , _)) => None
17
- case _ => Some (" 1.2.0-RC1" )
18
- }),
20
+ // pending resolution of https://github.com/scalacenter/sbt-version-policy/issues/62
21
+ case Some ((3 , _)) => None
22
+ case _ => Some (" 1.2.0-RC1" )
23
+ }),
19
24
20
25
libraryDependencies += " junit" % " junit" % " 4.13.2" % Test ,
21
26
libraryDependencies += " com.novocode" % " junit-interface" % " 0.11" % Test ,
22
27
// so we can `@nowarn` in test code, but only in test code, so the dependency
23
- // doesn't leak downstream
28
+ // doesn't leak downstream. can be dropped when we drop 2.11 from the crossbuild
24
29
libraryDependencies += " org.scala-lang.modules" %% " scala-collection-compat" % " 2.4.4" % Test ,
25
30
26
31
apiMappings ++= scalaInstance.value.libraryJars.collect {
0 commit comments