Skip to content

Commit b2955a7

Browse files
Andreas-ForsterGhazi-Bouabene
authored andcommitted
added backwards compatibility down to java 8 (unibas-gravis#117)
1 parent 3b48df9 commit b2955a7

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
@@ -7,8 +7,8 @@ scalaVersion := "2.12.8"
77
crossScalaVersions := Seq("2.12.8", "2.11.8")
88

99
scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
10-
case Some((2, 11)) => Seq("-deprecation", "-unchecked", "-feature")
11-
case _ => Seq("-deprecation", "-unchecked", "-feature", "-opt:l:method")
10+
case Some((2, 11)) => Seq("-deprecation", "-unchecked", "-feature", "-target:jvm-1.8")
11+
case _ => Seq("-deprecation", "-unchecked", "-feature", "-opt:l:method", "-target:jvm-1.8")
1212
})
1313

1414
resolvers += Resolver.jcenterRepo

0 commit comments

Comments
 (0)