Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c742e6b

Browse files
committed
minor build.sbt updates
1 parent 22aec70 commit c742e6b

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

build.sbt

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,21 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
1111
.settings(
1212
ScalaModulePlugin.scalaModuleSettings,
1313
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:
1419
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+
}),
1924

2025
libraryDependencies += "junit" % "junit" % "4.13.2" % Test,
2126
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test,
2227
// 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
2429
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.4.4" % Test,
2530

2631
apiMappings ++= scalaInstance.value.libraryJars.collect {

0 commit comments

Comments
 (0)