Allow use of mirrors when building a jar.

Adds :mirrors to jar/whitelist-keys.
This commit is contained in:
Tim McCormack 2013-03-11 13:38:24 -04:00
parent 2340166b2f
commit f1f0aecc76

View file

@ -139,7 +139,7 @@
(def whitelist-keys
"Project keys which don't affect the production of the jar should be
propagated to the compilation phase and not stripped out."
[:offline? :local-repo :certificates :warn-on-reflection])
[:offline? :local-repo :certificates :warn-on-reflection :mirrors])
(defn- compile-main? [{:keys [main source-paths] :as project}]
(and main (not (:skip-aot (meta main)))