Skip to content

Commit 7676c44

Browse files
committed
Move clj-http deps to dev profile for ease of dev
1 parent 071fac4 commit 7676c44

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

project.clj

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
(defproject aleph (or (System/getenv "PROJECT_VERSION") "0.5.0")
44
:description "A framework for asynchronous communication"
5-
:repositories {"jboss" "https://repository.jboss.org/nexus/content/groups/public/"
5+
:repositories {"jboss" "https://repository.jboss.org/nexus/content/groups/public/"
66
"sonatype-oss-public" "https://oss.sonatype.org/content/groups/public/"}
77
:url "https://github.com/clj-commons/aleph"
88
:license {:name "MIT License"}
@@ -21,47 +21,47 @@
2121
[io.netty/netty-handler-proxy ~netty-version]
2222
[io.netty/netty-resolver ~netty-version]
2323
[io.netty/netty-resolver-dns ~netty-version]]
24-
:profiles {:dev {:dependencies [[org.clojure/clojure "1.11.1"]
25-
[criterium "0.4.6"]
26-
[cheshire "5.10.0"]
27-
[org.slf4j/slf4j-simple "1.7.30"]
28-
[com.cognitect/transit-clj "1.0.324"]
29-
[spootnik/signal "0.2.4"]
30-
[me.mourjo/dynamic-redef "0.1.0"]]}
24+
:profiles {:dev {:dependencies [[org.clojure/clojure "1.11.1"]
25+
[criterium "0.4.6"]
26+
[cheshire "5.10.0"]
27+
[org.slf4j/slf4j-simple "1.7.30"]
28+
[com.cognitect/transit-clj "1.0.324"]
29+
[spootnik/signal "0.2.4"]
30+
[me.mourjo/dynamic-redef "0.1.0"]
31+
32+
;; for testing clj-http parity
33+
[clj-http "3.12.3"]
34+
[ring/ring-jetty-adapter "1.9.3"]
35+
[org.apache.logging.log4j/log4j-api "2.17.1"]
36+
[org.apache.logging.log4j/log4j-core "2.17.1"]
37+
[org.apache.logging.log4j/log4j-1.2-api "2.17.1"]]}
3138
:lein-to-deps {:source-paths ["deps"]}
3239
;; This is for self-generating certs for testing ONLY:
33-
:test {:dependencies [[org.bouncycastle/bcprov-jdk15on "1.69"]
34-
[org.bouncycastle/bcpkix-jdk15on "1.69"]
35-
36-
;; for testing clj-http parity
37-
[clj-http "3.12.3"]
38-
[ring/ring-jetty-adapter "1.9.3"]
39-
[org.apache.logging.log4j/log4j-api "2.17.1"]
40-
[org.apache.logging.log4j/log4j-core "2.17.1"]
41-
[org.apache.logging.log4j/log4j-1.2-api "2.17.1"]]
42-
:javac-options ^:replace ["--release" "12"] ; necessary for some tests
43-
:jvm-opts ["-Dorg.slf4j.simpleLogger.defaultLogLevel=off"]}}
44-
:codox {:src-dir-uri "https://github.com/ztellman/aleph/tree/master/"
40+
:test {:dependencies [[org.bouncycastle/bcprov-jdk15on "1.69"]
41+
[org.bouncycastle/bcpkix-jdk15on "1.69"]]
42+
:javac-options ^:replace ["--release" "12"] ; necessary for some tests
43+
:jvm-opts ["-Dorg.slf4j.simpleLogger.defaultLogLevel=off"]}}
44+
:codox {:src-dir-uri "https://github.com/ztellman/aleph/tree/master/"
4545
:src-linenum-anchor-prefix "L"
46-
:defaults {:doc/format :markdown}
47-
:include [aleph.tcp
48-
aleph.udp
49-
aleph.http
50-
aleph.flow]
51-
:output-dir "doc"}
46+
:defaults {:doc/format :markdown}
47+
:include [aleph.tcp
48+
aleph.udp
49+
aleph.http
50+
aleph.flow]
51+
:output-dir "doc"}
5252
:plugins [[lein-codox "0.10.7"]
5353
[lein-marginalia "0.9.1"]
5454
[lein-pprint "1.3.2"]
5555
[ztellman/lein-cljfmt "0.1.10"]]
5656
:java-source-paths ["src/aleph/utils"]
5757
:cljfmt {:indents {#".*" [[:inner 0]]}}
58-
:test-selectors {:default #(not
59-
(some #{:benchmark :stress :integration}
60-
(cons (:tag %) (keys %))))
61-
:benchmark :benchmark
58+
:test-selectors {:default #(not
59+
(some #{:benchmark :stress :integration}
60+
(cons (:tag %) (keys %))))
61+
:benchmark :benchmark
6262
:integration :integration
63-
:stress :stress
64-
:all (constantly true)}
63+
:stress :stress
64+
:all (constantly true)}
6565
:jvm-opts ^:replace ["-server"
6666
"-Xmx2g"
6767
"-XX:+HeapDumpOnOutOfMemoryError"

0 commit comments

Comments
 (0)