From 0c229be6078e62b705a443f8bb33b10be8b10eca Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Tue, 24 Feb 2015 15:41:31 -0500 Subject: [PATCH] Enforce that the build uses Java 8 --- config/build.sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/build.sbt b/config/build.sbt index 45b4932b..2acc2ae7 100644 --- a/config/build.sbt +++ b/config/build.sbt @@ -22,7 +22,7 @@ findbugsMaxMemory := 1000 jacoco.settings -javacOptions in (Compile, compile) ++= Seq("-source", "1.6", "-target", "1.6", "-g") +javacOptions in (Compile, compile) ++= Seq("-source", "1.8", "-target", "1.8", "-g") // because we test some global state such as singleton caches, // we have to run tests in serial. @@ -30,4 +30,4 @@ parallelExecution in Test := false sources in (Compile, doc) ~= (_.filter(_.getParentFile.getName != "impl")) -javaVersionPrefix in javaVersionCheck := Some("1.6") +javaVersionPrefix in javaVersionCheck := Some("1.8")