-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.edn
49 lines (41 loc) · 2.21 KB
/
deps.edn
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
{:paths ["src"]
:deps {
org.clojure/clojure {:mvn/version "1.10.3"}
org.clojure/tools.cli {:mvn/version "1.0.206"}
org.martinklepsch/clj-http-lite {:mvn/version "0.4.3"}
cheshire/cheshire {:mvn/version "5.10.0"}
stylefruits/gniazdo {:mvn/version "1.2.0"}
org.jmdns/jmdns {:mvn/version "3.5.6"}
org.slf4j/slf4j-api {:mvn/version "1.7.30"}
org.slf4j/slf4j-simple {:mvn/version "1.7.30"}}
:aliases {
;; build an uberjar (application) with AOT compilation by default:
:uberjar {:replace-deps {com.github.seancorfield/depstar {:mvn/version "2.0.216"}}
:exec-fn hf.depstar/uberjar
:exec-args {:aot true}}
;; build a jar (library):
:jar {:replace-deps {com.github.seancorfield/depstar {:mvn/version "2.0.216"}}
:exec-fn hf.depstar/jar
:main-class core
:exec-args {}}
;; generic depstar alias, use with jar or uberjar function name:
:depstar {:replace-deps {com.github.seancorfield/depstar {:mvn/version "2.0.216"}}
:ns-default hf.depstar
:exec-args {}}
:native-image
{:main-opts ["-m" "clj.native-image" "core"
"--initialize-at-build-time"
"--no-fallback"
"--enable-https"
"--enable-url-protocols=http,https"
"--enable-all-security-services"
"--report-unsupported-elements-at-runtime"
"--allow-incomplete-classpath"
"-H:ConfigurationFileDirectories=./config"
"--initialize-at-run-time=javax.jmdns.impl.JmDNSImpl"
"-H:Name=core"]
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]
:extra-deps
{clj.native-image/clj.native-image
{:git/url "https://github.com/taylorwood/clj.native-image.git"
:sha "4604ae76855e09cdabc0a2ecc5a7de2cc5b775d6"}}}}}