Skip to content

Commit

Permalink
Merge pull request #15 from nickhudkins/patch-1
Browse files Browse the repository at this point in the history
JVM 8 Bytecode
  • Loading branch information
yanns committed Oct 22, 2020
2 parents a6139c2 + 8fd9d6d commit 38c7b14
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ scalacOptions ++= {
if (scalaVersion.value startsWith "2.11")
Seq("-target:jvm-1.7")
else
Seq.empty
Seq("-target:jvm-1.8")
}
javacOptions ++= {
if (scalaVersion.value startsWith "2.11")
Seq("-source", "7", "-target", "7")
else
Seq("-source", "8", "-target", "8")
}

libraryDependencies ++= Seq(
Expand Down

0 comments on commit 38c7b14

Please sign in to comment.