mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 04:56:02 +01:00
(refs #518)Compile for Java7
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user