-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
38 lines (38 loc) · 2.18 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
(defproject cyberia "0.1.2"
:description "Pleroma CLI client"
:url "https://github.com/Tsuribori/cyberia"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.10.3"]
[cli-matic "0.4.3"]
[clj-http "3.12.3"]
[cheshire "5.10.2"]
[com.github.clj-easy/graal-build-time "0.1.4"]]
:main ^:skip-aot cyberia.core
:target-path "target/%s"
:profiles {:uberjar {:aot :all}}
:plugins [[io.taylorwood/lein-native-image "0.3.1"]]
:native-image {:name "cyberia"
:opts ["--no-fallback"
"--enable-http"
"--enable-https"
"--allow-incomplete-classpath"
"--native-image-info"
"--enable-url-protocols=http,https"
"-H:ReflectionConfigurationFiles=resources/reflection.json"
"-H:+ReportExceptionStackTraces"
"-H:CCompilerOption=-pipe"
"-H:+TraceSecurityServices"
"-H:+StaticExecutableWithDynamicLibC"
"-J-Dclojure.spec.skip.macros=true"
"-J-Dclojure.compiler.direct-linking=true"
"-J-Xmx3G"
"--initialize-at-build-time=com.fasterxml.jackson"
"--initialize-at-build-time=org.apache.http.conn.ssl.AllowAllHostnameVerifier"
"--initialize-at-build-time=org.apache.http.conn.ssl.StrictHostnameVerifier"
"--initialize-at-build-time=org.apache.http.conn.ssl.SSLConnectionSocketFactory"
"--initialize-at-build-time=org.apache.commons.logging.LogFactory"
"--initialize-at-build-time=org.apache.commons.logging.impl.LogFactoryImpl"
"--initialize-at-build-time=org.apache.commons.logging.impl.Jdk14Logger"
"--initialize-at-build-time=org.apache.http.conn.ssl.BrowserCompatHostnameVerifier"
"--initialize-at-build-time=clj_tuple$hash_map,clj_tuple$vector"]})