Skip to content

Commit c1dbf44

Browse files
committed
Merge pull request #87 from biswanaths/master
Enabling builds for java 1.7 and 1.9
2 parents 6b0d4ee + ab36ca0 commit c1dbf44

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
@@ -10,9 +10,9 @@ scalaVersion := crossScalaVersions.value.head
1010

1111
crossScalaVersions := {
1212
val java = System.getProperty("java.version")
13-
if (java.startsWith("1.6."))
13+
if (java.startsWith("1.6.") || java.startsWith("1.7."))
1414
Seq("2.11.7", "2.12.0-M1")
15-
else if (java.startsWith("1.8."))
15+
else if (java.startsWith("1.8.") || java.startsWith("1.9."))
1616
Seq("2.12.0-M2")
1717
else
1818
sys.error(s"don't know what Scala versions to build on $java")

0 commit comments

Comments
 (0)