forked from clj-commons/aleph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
61 lines (60 loc) · 3.77 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
;; you'll need to run the script at `deps/lein-to-deps` after changing any dependencies
(def netty-version "4.1.100.Final")
(defproject aleph (or (System/getenv "PROJECT_VERSION") "0.7.0-alpha2")
:description "A framework for asynchronous communication"
:url "https://github.com/clj-commons/aleph"
:license {:name "MIT License"}
:dependencies [[org.clojure/clojure "1.11.1"]
[org.clojure/tools.logging "1.2.4" :exclusions [org.clojure/clojure]]
[manifold "0.3.0" :exclusions [org.clojure/tools.logging]]
[org.clj-commons/byte-streams "0.3.2"]
[org.clj-commons/dirigiste "1.0.3"]
[org.clj-commons/primitive-math "1.0.0"]
[potemkin "0.4.6"]
[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.18.Final" :classifier "linux-x86_64"]
[io.netty.incubator/netty-incubator-transport-native-io_uring "0.0.18.Final" :classifier "linux-aarch_64"]
[io.netty/netty-codec ~netty-version]
[io.netty/netty-codec-http ~netty-version]
[io.netty/netty-codec-http2 ~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]
[metosin/malli "0.10.4" :exclusions [org.clojure/clojure]]]
:profiles {:dev {:dependencies [[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"
"-Dorg.slf4j.simpleLogger.showThreadName=false"
"-Dorg.slf4j.simpleLogger.showThreadId=true"
"-Dorg.slf4j.simpleLogger.showLogName=false"
"-Dorg.slf4j.simpleLogger.showShortLogName=true"
"-Dorg.slf4j.simpleLogger.showDateTime=true"]}
:test {:jvm-opts ["-Dorg.slf4j.simpleLogger.defaultLogLevel=off"]}
:leak-level-paranoid {:jvm-opts ["-Dio.netty.leakDetectionLevel=PARANOID"]}
:pedantic {:pedantic? :abort}
:trace {:jvm-opts ["-Dorg.slf4j.simpleLogger.defaultLogLevel=trace"]}}
:java-source-paths ["src-java"]
: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})