(refs #518)Compile for Java7

This commit is contained in:
takezoe
2014-10-12 15:49:49 +09:00
parent 320585a530
commit bd5df3977d

View File

@@ -53,7 +53,7 @@ object MyBuild extends Build {
"com.typesafe.play" %% "twirl-compiler" % "1.0.2" "com.typesafe.play" %% "twirl-compiler" % "1.0.2"
), ),
EclipseKeys.withSource := true, EclipseKeys.withSource := true,
javacOptions in compile ++= Seq("-target", "6", "-source", "6"), javacOptions in compile ++= Seq("-target", "7", "-source", "7"),
testOptions in Test += Tests.Argument(TestFrameworks.Specs2, "junitxml", "console"), testOptions in Test += Tests.Argument(TestFrameworks.Specs2, "junitxml", "console"),
packageOptions += Package.MainClass("JettyLauncher") packageOptions += Package.MainClass("JettyLauncher")
).enablePlugins(SbtTwirl) ).enablePlugins(SbtTwirl)