-
Notifications
You must be signed in to change notification settings - Fork 47
/
project.clj
37 lines (32 loc) · 1.54 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
(defproject simple "0.1.0-SNAPSHOT"
:managed-dependencies
[[io.netty/netty-codec-http "4.1.39.Final"]
[io.netty/netty-codec "4.1.39.Final"]
[io.netty/netty-handler-proxy "4.1.39.Final"]
[io.netty/netty-codec-socks "4.1.39.Final"]
[io.netty/netty-handler "4.1.39.Final"]
[io.netty/netty-resolver-dns "4.1.39.Final"]
[io.netty/netty-codec-dns "4.1.39.Final"]
[io.netty/netty-resolver "4.1.39.Final"]
[io.netty/netty-transport-native-epoll "4.1.39.Final"]
[io.netty/netty-common "4.1.39.Final"]
[io.netty/netty-transport-native-unix-common "4.1.39.Final"]
[io.netty/netty-transport "4.1.39.Final"]
[io.netty/netty-buffer "4.1.39.Final"]]
:dependencies [[org.clojure/clojure "1.10.2-alpha1"]
[aleph "0.4.7-alpha5"]]
:main simple.main
:uberjar-name "simple-main.jar"
:profiles {:uberjar {:aot :all}
:dev {:plugins [[lein-shell "0.5.0"]]}}
:aliases
{"native"
["shell"
"native-image" "--report-unsupported-elements-at-runtime" "--no-server" "--no-fallback"
"-H:+ReportExceptionStackTraces"
"--initialize-at-build-time"
"--initialize-at-run-time=io.netty.channel.epoll.EpollEventArray,io.netty.channel.unix.Errors,io.netty.channel.unix.IovArray,io.netty.channel.unix.Socket,io.netty.channel.epoll.Native,io.netty.channel.epoll.EpollEventLoop,io.netty.util.internal.logging.Log4JLogger"
"--allow-incomplete-classpath"
"-jar" "./target/${:uberjar-name:-${:name}-${:version}-standalone.jar}"
"-H:Name=./target/${:name}"]
"run-native" ["shell" "./target/${:name}"]})