Skip to content

Commit fed1867

Browse files
author
Antonio Alonso Dominguez
committed
Skip compilation in Java 6
1 parent ee2513f commit fed1867

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sbt

+3-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ lazy val `scala-parser-combinators` = crossProject(JSPlatform, JVMPlatform, Nati
5959
jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin)).
6060
nativeSettings(
6161
name := "scala-parser-combinators-native",
62-
scalaVersion := "2.11.11"
62+
scalaVersion := "2.11.11",
63+
skip in compile := System.getProperty("java.version").startsWith("1.6"),
64+
test := {}
6365
)
6466

6567
lazy val `scala-parser-combinatorsJVM` = `scala-parser-combinators`.jvm

0 commit comments

Comments
 (0)