Skip to content

Commit d7444e7

Browse files
committed
Don't check for scala versions anymore for scala native
1 parent a48f4d7 commit d7444e7

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Diff for: build.sbt

+2-7
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,8 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
104104
.nativeSettings(
105105
versionPolicyCheck / skip := true,
106106
versionCheck / skip := true,
107-
compile / skip := System.getProperty("java.version").startsWith("1.6") || !scalaVersion.value.startsWith("2"),
108-
test := {},
109-
libraryDependencies := {
110-
if (!scalaVersion.value.startsWith("2"))
111-
libraryDependencies.value.filterNot(_.organization == "org.scala-native")
112-
else libraryDependencies.value
113-
}
107+
compile / skip := System.getProperty("java.version").startsWith("1.6"),
108+
test := {}
114109
)
115110

116111
lazy val parserCombinatorsJVM = parserCombinators.jvm

0 commit comments

Comments
 (0)