5fd5592711
This fixes the issue causing the build failures. The root of it is that dynapath was allowing pomegranate to modify the boot classloader, which caused multiple copies of the same class to be loaded.
36 lines
1.9 KiB
Clojure
36 lines
1.9 KiB
Clojure
;; This is Leiningen's own project configuration. See doc/TUTORIAL.md
|
|
;; file as well as sample.project.clj for help writing your own.
|
|
|
|
(defproject leiningen "2.1.0-SNAPSHOT"
|
|
:description "Automate Clojure projects without setting your hair on fire."
|
|
:url "https://github.com/technomancy/leiningen"
|
|
:license {:name "Eclipse Public License"
|
|
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
|
:dependencies [[leiningen-core "2.1.0-SNAPSHOT"]
|
|
[org.clojure/data.xml "0.0.3"]
|
|
[bultitude "0.2.1" :exclusions [dynapath]]
|
|
[stencil "0.3.1"]
|
|
[org.apache.maven.indexer/indexer-core "4.1.3"
|
|
:exclusions [org.apache.maven/maven-model
|
|
org.sonatype.aether/aether-api
|
|
org.sonatype.aether/aether-util
|
|
org.sonatype.sisu/sisu-inject-plexus]]
|
|
[reply "0.1.10" :exclusions [ring/ring-core]]
|
|
;; drawbridge specifies an ancient version here, so bump it
|
|
[clj-http "0.5.8" :exclusions [crouton cheshire]]]
|
|
;; checkout-deps don't work with :eval-in :leiningen
|
|
:profiles {:dev {:resource-paths ["leiningen-core/dev-resources"]
|
|
:test-paths ["leiningen-core/test"]}
|
|
:release {:aot [#"leiningen"
|
|
cemerick.pomegranate
|
|
cemerick.drawbridge
|
|
classlojure.core
|
|
clojure.tools.nrepl
|
|
clj-http.core
|
|
ordered.map]}}
|
|
:test-selectors {:default (complement :disabled)
|
|
:offline (complement :online)}
|
|
:source-paths ["leiningen-core/src" "src"]
|
|
;; work around Clojure bug http://dev.clojure.org/jira/browse/CLJ-1034
|
|
:uberjar-exclusions [#"^data_readers.clj$"]
|
|
:eval-in :leiningen)
|