Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
javac after AOT
(defproject oreilly.clojure/sample-lein-project "1.0.0"
:dependencies [[org.clojure/clojure "1.3.0-alpha6"]]
:aot :all
:warn-on-reflection true)
(require '(leiningen compile javac))
(add-hook #'leiningen.compile/compile
(fn [compile project & args]
(apply compile project args)
(leiningen.javac/javac (assoc project :java-source-path "src"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.