forked from clj-commons/aleph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
68 lines (67 loc) · 3.75 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
65
66
67
68
;; you'll need to run the script at `deps/lein-to-deps` after changing any dependencies
(def netty-version "4.1.87.Final")
(defproject aleph (or (System/getenv "PROJECT_VERSION") "0.6.1")
: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 [[org.clojure/tools.logging "1.1.0" :exclusions [org.clojure/clojure]]
[manifold "0.3.0"]
[org.clj-commons/byte-streams "0.3.1"]
[org.clj-commons/dirigiste "1.0.3"]
[org.clj-commons/primitive-math "1.0.0"]
[potemkin "0.4.5"]
[io.netty/netty-transport ~netty-version]
[io.netty/netty-transport-native-epoll ~netty-version :classifier "linux-x86_64"]
[io.netty/netty-transport-native-epoll ~netty-version :classifier "linux-aarch_64"]
[io.netty/netty-transport-native-kqueue ~netty-version :classifier "osx-x86_64"]
[io.netty.incubator/netty-incubator-transport-native-io_uring "0.0.16.Final" :classifier "linux-x86_64"]
[io.netty.incubator/netty-incubator-transport-native-io_uring "0.0.16.Final" :classifier "linux-aarch_64"]
[io.netty/netty-codec ~netty-version]
[io.netty/netty-codec-http ~netty-version]
[io.netty/netty-handler ~netty-version]
[io.netty/netty-handler-proxy ~netty-version]
[io.netty/netty-resolver ~netty-version]
[io.netty/netty-resolver-dns ~netty-version]]
:profiles {:dev {:dependencies [[org.clojure/clojure "1.11.0"]
[criterium "0.4.6"]
[cheshire "5.10.0"]
[org.slf4j/slf4j-simple "1.7.30"]
[com.cognitect/transit-clj "1.0.324"]
[spootnik/signal "0.2.4"]
;; This is for self-generating certs for testing ONLY:
[org.bouncycastle/bcprov-jdk18on "1.72"]
[org.bouncycastle/bcpkix-jdk18on "1.72"]]
:jvm-opts ["-Dorg.slf4j.simpleLogger.defaultLogLevel=debug"]}
:lein-to-deps {:source-paths ["deps"]}
:test {:jvm-opts ["-Dorg.slf4j.simpleLogger.defaultLogLevel=off"]}}
: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"]
[lein-pprint "1.3.2"]
[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"]
:javac-options ["-target" "1.8" "-source" "1.8"]
:global-vars {*warn-on-reflection* true})