This leiningen plugin provides commands to work around problems of clojure ahead-of-time compilation, by determining a suitable compilation order via clojure.tools.namespace.
This requires Leiningen 2.6.1 or higher.
Put into the
:plugins
vector of your project.clj.
Then you can start the following tasks:
lein aot-order
which just prints the determined order.
Or if you set :aot
in your project to :order
:
:aot :order
it is automatically replaced by the determined order of your
namespaces. That order will then be used by the jar
or uberjar
tasks, just as if you had specified it manually.
Copyright © 2017 Active Group GmbH
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.