Permalink
Browse files

Update sample.project.clj to use the new `:javac-options` format

Which is the same as javac command line arguments, passed as a vector.
  • Loading branch information...
1 parent 2d3db75 commit 745a7a638f20c49ff0aab1bcd2382a3b7e01598a Michael Klishin committed Jul 14, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 sample.project.clj
View
5 sample.project.clj
@@ -185,8 +185,9 @@
:target-path "target/" ; where to place the project's jar file
:jar-name "sample.jar" ; name of the jar produced by 'lein jar'
:uberjar-name "sample-standalone.jar" ; as above for uberjar
- ;; Options to pass to java compiler for java source
- :javac-options {:destdir "classes/"}
+ ;; Options to pass to java compiler for java source,
+ ;; exactly the same as command line arguments to javac
+ :javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"]
;; Leave the contents of :source-paths out of jars (for AOT projects)
:omit-source true
;; Files with names matching any of these patterns will be excluded from jars

0 comments on commit 745a7a6

Please sign in to comment.