Skip to content

Commit 5486a22

Browse files
committed
Fix compile/skip and libraryDependencies for scala native
1 parent 0cb7184 commit 5486a22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sbt

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ 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+
compile / skip := System.getProperty("java.version").startsWith("1.6") || !scalaVersion.value.startsWith("2"),
9393
test := {},
9494
libraryDependencies := {
95-
if (!scalaVersion.value.startsWith("3"))
95+
if (!scalaVersion.value.startsWith("2"))
9696
libraryDependencies.value.filterNot(_.organization == "org.scala-native")
9797
else libraryDependencies.value
9898
}

0 commit comments

Comments
 (0)