Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

target JVM 1.6

  • Loading branch information...
commit fd5b3ce311e07463fdccc640e1dbe94c0434efc5 1 parent 3641da9
@shenfeng authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  project.clj
  2. +1 −1  scripts/javac
View
2  project.clj
@@ -4,7 +4,7 @@
:warn-on-reflection true
:java-source-path "src/java"
:jar-exclusions [#".*java$"]
- :javac-options {:source "1.6" :target "1.6" :debug "true" :fork "true"}
+ :javac-options ["-source" "1.6" "-target" "1.6" "-g" "-encoding" "utf8"]
:plugins [[lein-swank "1.4.4"]]
:profiles {:dev {:dependencies [[junit/junit "4.8.2"]
[stencil "0.3.0"]
View
2  scripts/javac
@@ -2,4 +2,4 @@
rm -rf target && mkdir -p target/classes
CP=`lein classpath`
-find src/java -name "*.java" | xargs javac -Xlint:unchecked -encoding utf8 -cp $CP -d target/classes -sourcepath src/java/
+find src/java -name "*.java" | xargs javac -Xlint:unchecked -target 1.6 -source 1.6 -encoding utf8 -cp $CP -d target/classes -sourcepath src/java/
Please sign in to comment.
Something went wrong with that request. Please try again.