From f1f0aecc76ad2d5a6ea0f843923faebcab4dbdeb Mon Sep 17 00:00:00 2001 From: Tim McCormack Date: Mon, 11 Mar 2013 13:38:24 -0400 Subject: [PATCH] Allow use of mirrors when building a jar. Adds :mirrors to jar/whitelist-keys. --- src/leiningen/jar.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leiningen/jar.clj b/src/leiningen/jar.clj index 7a9a3faa..9dfbf778 100644 --- a/src/leiningen/jar.clj +++ b/src/leiningen/jar.clj @@ -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)))