leiningen/project.clj
2014-09-14 15:07:00 +02:00

43 lines
2.1 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.5.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
^:replace [[leiningen-core "2.5.0-SNAPSHOT"]
[org.clojure/data.xml "0.0.3"]
[commons-io "2.4"]
[bultitude "0.2.6"]
[stencil "0.3.3" :exclusions [org.clojure/core.cache]]
[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
jakarta-regexp]]
[reply "0.3.5" :exclusions [ring/ring-core
org.thnetos/cd-client]]
;; bump versions of various common transitive deps
[slingshot "0.10.3"]
[cheshire "5.0.2"]
[clj-http "0.9.2" :exclusions [crouton]]]
;; checkout-deps don't work with :eval-in :leiningen
:profiles {:dev {:resource-paths ["leiningen-core/dev-resources"]
:test-paths ["leiningen-core/test"]}
:uberjar {:aot [#"leiningen"
leiningen.core.ssl ; lazy-loaded
cemerick.pomegranate
classlojure.core
clojure.tools.nrepl
clj-http.core]}}
:test-selectors {:default (complement :disabled)
:offline (comp (partial not-any? identity)
(juxt :online :disabled))}
:source-paths ["leiningen-core/src" "src"]
:aot [leiningen.search]
;; work around Clojure bug http://dev.clojure.org/jira/browse/CLJ-1034
:uberjar-exclusions [#"^data_readers.clj$"]
:eval-in :leiningen)