-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.edn
48 lines (44 loc) · 2.43 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
{:deps {
org.clojure/tools.cli {:mvn/version "1.0.206"} ; parse opts
; DB
org.postgresql/postgresql {:mvn/version "42.2.2"} ; hugsql
org.clojure/java.jdbc {:mvn/version "0.7.5"} ; hugsql
org.xerial/sqlite-jdbc {:mvn/version "3.36.0.3"} ; hugsql
com.layerware/hugsql {:mvn/version "0.5.1"}
;HTTP
compojure/compojure {:mvn/version "1.6.2"}
http-kit/http-kit {:mvn/version "2.5.3"}
;javax.servlet/servlet-api {:mvn/version "2.5"}
ring/ring-core {:mvn/version "1.9.4"}
ring/ring-json {:mvn/version "0.5.1"}
ring-basic-authentication/ring-basic-authentication {:mvn/version "1.1.1"}
;ring/ring-defaults {:mvn/version "0.3.3"}
;clj-http-lite/clj-http-lite {:mvn/version "0.4.3"}
; saving json
org.clojure/data.json {:mvn/version "2.4.0"}
; hash for completion code
org.clj-commons/digest {:mvn/version "1.4.100"}
}
:paths ["src" "classes"]
:aliases {:native-image {:main-opts ["-m" "clj.native-image" "psiclj"
"--initialize-at-build-time"
"--no-fallback"
"--allow-incomplete-classpath"
"-H:IncludeResources=.*html$"
"-H:IncludeResources=.*js$"
"-H:IncludeResources=.*css$"
"--verbose"
; windows build issues?
;"-J-Xms3g"
;"-J-Xmx8g"
;; optional native image name override
;"-H:Name=psiclj"
]
: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 "7708e7fd4572459c81f6a6b8e44c96f41cdd92d4"}}}
:uberjar {:extra-deps {uberdeps/uberdeps {:mvn/version "1.1.0"}}
;:main "psiclj" ; "no manifest" error with windows native-image. this doesn't help
:main-opts ["-m" "uberdeps.uberjar" "--target" "psiclj.jar"]}}}