From 0d90f44c8213376782f8f4a6683c87221313ea82 Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Wed, 13 Apr 2016 00:21:17 +0300 Subject: [PATCH] Set Javac target to 1.6 Change #99 introduced a Java class which is compiled ahead of time to the JAR. By default the Java classes are built for use in current Java version and to allow use in older Java versions an option has to be provided. --- project.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project.clj b/project.clj index f94a9292..dcdf12ec 100644 --- a/project.clj +++ b/project.clj @@ -38,4 +38,5 @@ ;; "-XX:+PrintCompilation" ;; "-XX:+UnlockDiagnosticVMOptions" ;; "-XX:+PrintInlining" - ]) + ] + :javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"])