forked from clj-commons/aleph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
64 lines (61 loc) · 2.55 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
59
60
61
62
63
64
(def netty-version "4.1.64.Final")
(def netty-modules
'[transport
transport-native-epoll
codec
codec-http
handler
handler-proxy
resolver
resolver-dns])
(def other-dependencies
'[[org.clojure/tools.logging "1.1.0" :exclusions [org.clojure/clojure]]
[manifold "0.1.9"]
[org.clj-commons/byte-streams "0.2.10"]
[potemkin "0.4.5"]])
(defproject aleph "0.4.7-alpha10"
:description "A framework for asynchronous communication"
:repositories {"jboss" "https://repository.jboss.org/nexus/content/groups/public/"
"sonatype-oss-public" "https://oss.sonatype.org/content/groups/public/"}
:url "https://github.com/clj-commons/aleph"
:license {:name "MIT License"}
:dependencies ~(concat
other-dependencies
(map
#(vector (symbol "io.netty" (str "netty-" %)) netty-version)
netty-modules))
:profiles {:dev {:dependencies [[org.clojure/clojure "1.10.1"]
[criterium "0.4.6"]
[cheshire "5.10.0"]
[org.slf4j/slf4j-simple "1.7.30"]
[com.cognitect/transit-clj "1.0.324"]]}
;; This is for self-generating certs for testing ONLY:
:test {:dependencies [[org.bouncycastle/bcprov-jdk15on "1.69"]
[org.bouncycastle/bcpkix-jdk15on "1.69"]]}}
:codox {:src-dir-uri "https://github.com/ztellman/aleph/tree/master/"
:src-linenum-anchor-prefix "L"
:defaults {:doc/format :markdown}
:include [aleph.tcp
aleph.udp
aleph.http
aleph.flow]
:output-dir "doc"}
:plugins [[lein-codox "0.10.7"]
[lein-jammin "0.1.1"]
[lein-marginalia "0.9.1"]
[ztellman/lein-cljfmt "0.1.10"]]
:java-source-paths ["src/aleph/utils"]
:cljfmt {:indents {#".*" [[:inner 0]]}}
:test-selectors {:default #(not
(some #{:benchmark :stress}
(cons (:tag %) (keys %))))
:benchmark :benchmark
:stress :stress
:all (constantly true)}
:jvm-opts ^:replace ["-server"
"-Xmx2g"
"-XX:+HeapDumpOnOutOfMemoryError"
#_"-XX:+PrintCompilation"
#_"-XX:+UnlockDiagnosticVMOptions"
#_"-XX:+PrintInlining"]
:global-vars {*warn-on-reflection* true})