Skip to content

Commit 33cdf2d

Browse files
committed
Support JDK8 to handle Instant
1 parent 64bf2e2 commit 33cdf2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ val buildSettings = Seq[Setting[_]](
2626
// JVM options for building
2727
scalacOptions ++= Seq("-encoding", "UTF-8", "-deprecation", "-unchecked", "-feature"),
2828
Test / javaOptions ++= Seq("-ea"),
29-
javacOptions ++= Seq("-source", "1.7", "-target", "1.7"),
29+
javacOptions ++= Seq("-source", "1.8", "-target", "1.8"),
3030
Compile / compile / javacOptions ++= Seq("-encoding", "UTF-8", "-Xlint:unchecked", "-Xlint:deprecation"),
3131
// Use lenient validation mode when generating Javadoc (for Java8)
3232
doc / javacOptions := {
33-
val opts = Seq("-source", "1.7")
33+
val opts = Seq("-source", "1.8")
3434
if (scala.util.Properties.isJavaAtLeast("1.8")) {
3535
opts ++ Seq("-Xdoclint:none")
3636
} else {

0 commit comments

Comments
 (0)