-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.clj
186 lines (155 loc) · 5.93 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
(defproject zcaudate/foundation-base "4.0.1"
:description "base libraries for foundation"
:url "https://www.gitlab.com/zcaudate/foundation-base"
:aliases
{"test" ["exec" "-ep" "(use 'code.test) (def res (run :all)) (System/exit (+ (:failed res) (:thrown res)))"]
"test-unit" ["run" "-m" "code.test" "exit"]
"publish" ["exec" "-ep" "(use 'code.doc) (deploy-template :all) (publish :all)"]
"incomplete" ["exec" "-ep" "(use 'code.manage) (incomplete :all) (System/exit 0)"]
"install" ["exec" "-ep" "(use 'code.maven) (install :all {:tag :all}) (System/exit 0)"]
"deploy" ["exec" "-ep" "(use 'code.maven) (deploy :all {:tag :all}) (System/exit 0)"]
"push-native-code" ["run" "-m" "component.task-native-index"]
"push-c-000-pthreads" ["run" "-m" "play.c-000-pthreads-hello.build"]
"push-ngx-000-hello" ["run" "-m" "play.ngx-000-hello.build"]
"push-ngx-001-eval" ["run" "-m" "play.ngx-001-eval.build"]
"push-tui-000-counter" ["run" "-m" "play.tui-000-counter.build"]
"push-tui-001-fetch" ["run" "-m" "play.tui-001-fetch.build"]
"push-tui-002-game-of-life" ["run" "-m" "play.tui-002-game-of-life.build"]}
:dependencies
[;; dev
[org.clojure/clojure "1.11.1"]
[javax.xml.bind/jaxb-api "2.4.0-b180830.0359"]
[com.sun.xml.bind/jaxb-core "4.0.2"]
[com.sun.xml.bind/jaxb-impl "4.0.2"]
;; code.doc
[markdown-clj/markdown-clj "1.11.3"] ;; not mustache
;; code.manage
[org.clojure/tools.reader "1.3.6"]
;; lib.aether
[org.eclipse.aether/aether-api "1.1.0"]
[org.eclipse.aether/aether-spi "1.1.0"]
[org.eclipse.aether/aether-util "1.1.0"]
[org.eclipse.aether/aether-impl "1.1.0"]
[org.eclipse.aether/aether-connector-basic "1.1.0"]
[org.eclipse.aether/aether-transport-wagon "1.1.0"]
[org.eclipse.aether/aether-transport-http "1.1.0"]
[org.eclipse.aether/aether-transport-file "1.1.0"]
[org.eclipse.aether/aether-transport-classpath "1.1.0"]
[org.apache.maven/maven-aether-provider "3.3.9"]
;; lib.javaosc
#_
[com.illposed.osc/javaosc-core "0.8"]
#_#_#_#_#_
[org.clojars.technomancy/jmdns "3.2.1"]
[commons-net "3.0.1"]
[org.jmdns/jmdns "3.5.1"]
[commons-net/commons-net "3.9.0"]
[overtone/at-at "1.2.0"]
;; lib.lucene
[org.apache.lucene/lucene-core "9.6.0"]
[org.apache.lucene/lucene-queryparser "9.6.0"]
[org.apache.lucene/lucene-analyzers-common "8.11.2"]
[org.apache.lucene/lucene-suggest "9.6.0"]
;; lib.openpgp
[org.bouncycastle/bcprov-jdk15on "1.65"]
[org.bouncycastle/bcpg-jdk15on "1.65"]
;; lib.postgres
[com.impossibl.pgjdbc-ng/pgjdbc-ng "0.8.9"]
;; lib.oshi
[com.github.oshi/oshi-core "6.4.3"]
;; math.stat
[net.sourceforge.jdistlib/jdistlib "0.4.5"]
;; math.infix
[org.scijava/parsington "3.1.0"]
;; rt.basic
[http-kit "2.6.0"]
;; rt.jep
[black.ninia/jep "4.1.1"]
;; rt.graal
[org.graalvm.sdk/graal-sdk "21.2.0"]
[org.graalvm.truffle/truffle-api "21.2.0"]
[org.graalvm.js/js "21.2.0"]
[org.graalvm.js/js-scriptengine "21.2.0"]
[commons-io/commons-io "2.13.0"]
;; std.pretty
[org.clojure/core.rrb-vector "0.1.2"]
;; script.css
[garden "1.3.10"]
[net.sourceforge.cssparser/cssparser "0.9.30"]
;; script.graphql
[district0x/graphql-query "1.0.6"]
;; script.toml
[com.moandjiezana.toml/toml4j "0.7.2"]
;; script.yaml
[org.yaml/snakeyaml "1.33" #_"2.0" ;; needed by markdown-clj
]
;; std.fs.archive
[org.apache.commons/commons-compress "1.23.0"]
;; std.config
[borkdude/edamame "1.3.22"]
;; std.contract
[metosin/malli "0.2.1"]
;; std.html
[org.jsoup/jsoup "1.16.1"]
;; std.image
[com.twelvemonkeys.imageio/imageio-bmp "3.9.4"]
[com.twelvemonkeys.imageio/imageio-tiff "3.9.4"]
[com.twelvemonkeys.imageio/imageio-icns "3.9.4"]
[com.twelvemonkeys.imageio/imageio-jpeg "3.9.4"]
;; std.json
[com.fasterxml.jackson.core/jackson-core "2.15.2"]
[com.fasterxml.jackson.core/jackson-databind "2.15.2"]
[com.fasterxml.jackson.datatype/jackson-datatype-jsr310 "2.15.2"]
;; std.math
[org.apache.commons/commons-math3 "3.6.1"]
;; std.text.diff
[com.googlecode.java-diff-utils/diffutils "1.3.0"]
;; TESTS - std.object
[org.eclipse.jgit/org.eclipse.jgit "5.13.0.202109080827-r"]]
:global-vars {*warn-on-reflection* true}
:cljfmt {:file-pattern #"^[^\.].*\.clj$"
:indents {script [[:inner 0]]
template-vars [[:inner 0]]
fact [[:inner 0]]
comment [[:inner 0]]}}
:profiles {:dev {:plugins [[lein-ancient "0.6.15"]
[lein-exec "0.3.7"]
[lein-cljfmt "0.7.0"]
[cider/cider-nrepl "0.25.11"]]}
:repl {:injections [(try (require 'jvm.tool)
(require '[std.lib :as h])
(catch Throwable t (.printStackTrace t)))]}}
:resource-paths ["resources" "src-build" "test-data" "test-code"]
:java-source-paths ["src-java" "test-java"]
:java-output-path "target/classes"
:repl-options {:host "0.0.0.0" :port 51311}
:jvm-opts
["-Xms2048m"
"-Xmx2048m"
"-XX:MaxMetaspaceSize=1048m"
"-XX:-OmitStackTraceInFastThrow"
;;
;; GC FLAGS
;;
"-XX:+UseAdaptiveSizePolicy"
"-XX:+AggressiveHeap"
"-XX:+ExplicitGCInvokesConcurrent"
"-XX:+UseCMSInitiatingOccupancyOnly"
"-XX:+CMSClassUnloadingEnabled"
"-XX:+CMSParallelRemarkEnabled"
;;
;; GC TUNING
;;
"-XX:MaxNewSize=256m"
"-XX:NewSize=256m"
"-XX:CMSInitiatingOccupancyFraction=60"
"-XX:MaxTenuringThreshold=8"
"-XX:SurvivorRatio=4"
;;
;; JVM
;;
"-Djdk.tls.client.protocols=\"TLSv1,TLSv1.1,TLSv1.2\""
"-Djdk.attach.allowAttachSelf=true"
"--add-opens" "javafx.graphics/com.sun.javafx.util=ALL-UNNAMED"
"--add-opens" "java.base/java.lang=ALL-UNNAMED"
"--illegal-access=permit"])