forked from clojure-liberator/liberator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
42 lines (35 loc) · 1.83 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
(defproject liberator "0.14.1"
:description "Liberator - A REST library for Clojure."
:url "http://clojure-liberator.github.io/liberator"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/data.json "0.2.6"]
[org.clojure/data.csv "0.1.3"]
[hiccup "1.0.5"]] ;; Used by code rendering default representations.
:deploy-repositories [["releases" :clojars]]
:lein-release {:deploy-via :clojars}
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo
:comments "same as Clojure"}
:scm {:connection "scm:git:https://github.com/clojure-liberator/liberator.git"
:url "https://github.com/clojure-liberator/liberator"}
:plugins [[lein-midje "3.2.1"]
[lein-ring "0.10.0"]]
:profiles {:dev {:dependencies [[ring/ring-jetty-adapter "1.5.1"]
[ring-mock "0.1.5" :exclusions [ring/ring-codec]]
[ring/ring-devel "1.5.1"]
[midje "1.8.3"]
;; only for examples
[compojure "1.5.2"]
[org.clojure/clojurescript "1.7.145"]]
:source-paths [ "src" "examples/clj"]}
:1.7 {:dependencies [[org.clojure/clojure "1.7.0" :upgrade? false]]}
:1.8 {:dependencies [[org.clojure/clojure "1.8.0" :upgrade? false]]}
:dl {:jvm-opts ["-Dclojure.compiler.direct-linking=true"]}
:1.8dl [:1.8 :dl]}
:source-paths ["src"]
:test-paths ["test"]
:ring {:handler examples.server/handler
:adapter {:port 8000}}
:aliases {"examples" ["run" "-m" "examples.server"]
"test-all" ["with-profile" "+1.7:+1.8:+1.8dl" "test"]})