forked from http-kit/http-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
58 lines (52 loc) · 2.1 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
(defproject http-kit "2.4.0-alpha3"
:author "Feng Shen (@shenfeng)"
:description "High-performance event-driven HTTP client/server for Clojure"
:url "http://http-kit.org/"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"
:distribution :repo}
:min-lein-version "2.3.3"
:global-vars {*warn-on-reflection* true}
:dependencies
[[org.clojure/clojure "1.5.1"]]
:plugins
[[lein-swank "1.4.5"]
[lein-pprint "1.2.0"]
[lein-ancient "0.6.15"]
[lein-codox "0.10.3"]]
:jvm-opts
["-Dclojure.compiler.disable-locals-clearing=true"
"-Xms1g" "-Xmx1g"] ; Testing https require more memory
:javac-options ["-source" "1.6" "-target" "1.6" "-g"]
:java-source-paths ["src/java"]
:test-paths ["test"]
:jar-exclusions [#"^java.*"] ; exclude the java directory in source path
:test-selectors
{:default (complement :benchmark)
:travis (complement #(or (:benchmark %) (:skip-travis %)))
:benchmark :benchmark
:all (fn [_] true)}
:profiles
{:test
{:java-source-paths ["test/java" "src/java"]
:dependencies
[[ring/ring-defaults "0.2.3"] ; TODO Update (causes tests to hang)
[ring-request-proxy "0.1.11"]
[ring-basic-authentication "1.0.5"]
[org.clojure/data.codec "0.1.1"]]}
:dev
{:resource-paths ["test/resources"]
:dependencies
[[org.clojure/clojure "1.8.0"] ; TODO Update (breaks clj-http)
[junit/junit "4.12"]
[org.clojure/tools.logging "0.4.0"]
[ch.qos.logback/logback-classic "1.2.3"]
[clj-http "3.9.1"]
[io.netty/netty "3.6.5.Final"] ; TODO Update (breaking)
[org.clojure/data.json "0.2.6"]
[http.async.client "0.5.2"] ; TODO Update (breaking)
[compojure "1.5.2"] ; TODO Update (breaking)
[org.clojure/tools.cli "0.3.3"] ; TODO Update (breaking)
[ring/ring-jetty-adapter "1.5.1"] ; TODO Update (breaking)
[ring/ring-core "1.5.1"] ; TODO Update (breaking)
]}})