-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathproject.clj
34 lines (27 loc) · 1.07 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
(defproject aws-api-s3 "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.12.0"]
[com.cognitect.aws/api "0.8.692"]
[com.cognitect.aws/endpoints "1.1.12.772"]
[com.cognitect.aws/s3 "869.2.1687.0"]
[com.github.clj-easy/graal-build-time "1.0.5"]]
:main simple.main
:uberjar-name "simple-main.jar"
:profiles {:uberjar {:aot :all}
:dev {:plugins [[lein-shell "0.5.0"]]}}
:aliases
{"native"
["shell"
"native-image"
"--no-fallback"
"--report-unsupported-elements-at-runtime"
"--no-server"
"--allow-incomplete-classpath"
"--initialize-at-build-time"
"-H:+PrintClassInitialization"
"--features=clj_easy.graal_build_time.InitClojureClasses"
"-H:+UnlockExperimentalVMOptions"
"-H:ConfigurationFileDirectories=graalvm-resources"
"--enable-http" "--enable-https" "--enable-all-security-services"
"-jar" "./target/${:uberjar-name:-${:name}-${:version}-standalone.jar}"
"-H:Name=./target/${:name}"]
"run-native" ["shell" "./target/${:name}"]})