Skip to content

Commit a1606f6

Browse files
authored
Merge pull request #381 from Philippus/issue/380
2 parents 2cb79f1 + 4cfc0f4 commit a1606f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.sbt

+3-2
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,11 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
8989
)
9090
.jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin))
9191
.nativeSettings(
92-
compile / skip := System.getProperty("java.version").startsWith("1.6") || !scalaVersion.value.startsWith("3"),
92+
scalaModuleMimaPreviousVersion := None, // https://github.com/scala/scala-parser-combinators/pull/381
93+
compile / skip := System.getProperty("java.version").startsWith("1.6") || !scalaVersion.value.startsWith("2"),
9394
test := {},
9495
libraryDependencies := {
95-
if (!scalaVersion.value.startsWith("3"))
96+
if (!scalaVersion.value.startsWith("2"))
9697
libraryDependencies.value.filterNot(_.organization == "org.scala-native")
9798
else libraryDependencies.value
9899
}

0 commit comments

Comments
 (0)