aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2014-07-03 14:51:04 -0300
committerIvan Topolnjak <ivantopo@gmail.com>2014-07-03 14:51:04 -0300
commitc6b891894e4778117998970c831c4490f61fea11 (patch)
treedc7e27221280edc9db1d5cd6428dd67c647a9faa
parent2fd1958484dca0966610945ccadac4d69bf06bfd (diff)
downloadKamon-c6b891894e4778117998970c831c4490f61fea11.tar.gz
Kamon-c6b891894e4778117998970c831c4490f61fea11.tar.bz2
Kamon-c6b891894e4778117998970c831c4490f61fea11.zip
= build: ensure that the java code is also targeted to Java 1.6
-rw-r--r--project/Settings.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/project/Settings.scala b/project/Settings.scala
index 6cee3133..a441dc37 100644
--- a/project/Settings.scala
+++ b/project/Settings.scala
@@ -14,6 +14,9 @@ object Settings {
scalaVersion := ScalaVersion,
resolvers ++= Dependencies.resolutionRepos,
fork in run := true,
+ javacOptions := Seq(
+ "-source", "1.6", "-target", "1.6"
+ ),
scalacOptions := Seq(
"-encoding",
"utf8",