diff options
Diffstat (limited to 'project/Settings.scala')
-rw-r--r-- | project/Settings.scala | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/project/Settings.scala b/project/Settings.scala index 9f9fc594..484640b7 100644 --- a/project/Settings.scala +++ b/project/Settings.scala @@ -9,15 +9,20 @@ import net.virtualvoid.sbt.graph.Plugin.graphSettings object Settings { - val ScalaVersion = "2.10.4" + val JavaVersion = "1.6" + val ScalaVersion = "2.10.4" + lazy val basicSettings = Seq( scalaVersion := ScalaVersion, resolvers ++= Dependencies.resolutionRepos, fork in run := true, - javacOptions := Seq( + javacOptions in compile := Seq( "-Xlint:-options", - "-source", "1.6", "-target", "1.6" + "-source", JavaVersion, "-target", JavaVersion + ), + javacOptions in doc := Seq( + "-source", JavaVersion ), scalacOptions := Seq( "-encoding", |