forked from clj-commons/aleph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
64 lines (61 loc) · 2.41 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.44.Final")
(def netty-modules
'[transport
transport-native-epoll
codec
codec-http
handler
handler-proxy
resolver
resolver-dns])
(def other-dependencies
'[[org.clojure/tools.logging "0.4.1" :exclusions [org.clojure/clojure]]
[manifold "0.1.9-alpha3"]
;; [manifold "0.1.8"]
;; [byte-streams "0.2.5-alpha2"]
[byte-streams "0.2.4"]
[potemkin "0.4.5"]])
(defproject aleph "0.4.8-fork"
: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/"}
: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.9.0"]
[criterium "0.4.4"]
[cheshire "5.8.1"]
[org.slf4j/slf4j-simple "1.7.25"]
[com.cognitect/transit-clj "0.8.309"]]}}
: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.9.4"]
[lein-jammin "0.1.1"]
[lein-marginalia "0.9.0"]
[ztellman/lein-cljfmt "0.1.10"]]
:java-source-paths ["src/aleph/utils"]
:javac-options ["-target" "1.8", "-source" "1.8"]
: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"
#_"-Xmx256m"
"-Xmx2g"
"-XX:+HeapDumpOnOutOfMemoryError"
#_"-XX:+PrintCompilation"
#_"-XX:+UnlockDiagnosticVMOptions"
#_"-XX:+PrintInlining"]
:global-vars {*warn-on-reflection* true})