Skip to content

Commit

Permalink
Merge pull request #381 from Philippus/issue/380
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue authored May 13, 2021
2 parents 2cb79f1 + 4cfc0f4 commit a1606f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,11 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
)
.jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin))
.nativeSettings(
compile / skip := System.getProperty("java.version").startsWith("1.6") || !scalaVersion.value.startsWith("3"),
scalaModuleMimaPreviousVersion := None, // https://github.com/scala/scala-parser-combinators/pull/381
compile / skip := System.getProperty("java.version").startsWith("1.6") || !scalaVersion.value.startsWith("2"),
test := {},
libraryDependencies := {
if (!scalaVersion.value.startsWith("3"))
if (!scalaVersion.value.startsWith("2"))
libraryDependencies.value.filterNot(_.organization == "org.scala-native")
else libraryDependencies.value
}
Expand Down

0 comments on commit a1606f6

Please sign in to comment.