From 7f5024a746823fdf830ab909ec00adfae11a1bd0 Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Mon, 8 Feb 2016 01:11:54 +0900 Subject: [PATCH] Change javac option to require Java8 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 177efa82c..52d37b5e1 100644 --- a/build.sbt +++ b/build.sbt @@ -52,7 +52,7 @@ play.twirl.sbt.Import.TwirlKeys.templateImports += "gitbucket.core._" // Compiler settings scalacOptions := Seq("-deprecation", "-language:postfixOps") -javacOptions in compile ++= Seq("-target", "7", "-source", "7") +javacOptions in compile ++= Seq("-target", "8", "-source", "8") javaOptions in Jetty += "-Dlogback.configurationFile=/logback-dev.xml" testOptions in Test += Tests.Argument(TestFrameworks.Specs2, "junitxml", "console") javaOptions in Test += "-Dgitbucket.home=target/gitbucket_home_for_test"