1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
Description: Use -target and -source values from java-common
Author: Jérôme Charaoui <jerome@riseup.net>
Forwarded: not-needed
Bug-Debian: #1052576
--- a/project.clj
+++ b/project.clj
@@ -9,7 +9,7 @@
:global-vars {*warn-on-reflection* true}
:source-paths ["src/clojure"]
:java-source-paths ["src/java"]
- :javac-options ["-target" "1.7" "-source" "1.7" "-Xlint:-options"]
+ :javac-options ["-target" ~(System/getenv, "JAVA_TARGET_VERSION") "-source" ~(System/getenv, "JAVA_SOURCE_VERSION") "-Xlint:-options"]
:dependencies
[[org.yaml/snakeyaml "2.x"]
[org.flatland/ordered "debian"]]
|