-
Notifications
You must be signed in to change notification settings - Fork 40
/
project.clj
75 lines (65 loc) · 3.99 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
(defproject com.cognitect/pedestal.vase "0.9.4-SNAPSHOT"
:description "Vase: Pedestal API Container"
:url "https://github.com/cognitect-labs/vase"
:dependencies [;; Platform
[org.clojure/clojure "1.10.1"]
;; Datomic
[com.datomic/datomic-free "0.9.5697" :exclusions [[org.slf4j/slf4j-api]
[org.slf4j/slf4j-nop]
[org.eclipse.jetty/jetty-util]
[org.eclipse.jetty/jetty-client]]]
[com.datomic/client-cloud "0.8.78" :exclusions [commons-logging]]
[io.rkn/conformity "0.5.1" :exclusions [com.datomic/datomic-free]]
;; Pedestal
[io.pedestal/pedestal.service "0.5.7"]
[io.pedestal/pedestal.jetty "0.5.7"]
;; Pin Jetty versions to avoid conflict between Datomic and Pedestal
[org.eclipse.jetty/jetty-client "9.4.18.v20190429"]
;; Pin core.async to avoid conflict between Datomic and Pedestal
[org.clojure/core.async "0.4.490"]
;; Pin joda-time to avoid conflict between Datomic and Pedestal
[joda-time "2.9.9"]
;; Configuration
[com.cognitect/fern "0.1.5"]
;; Replace Java EE module for JDK 11
[javax.xml.bind/jaxb-api "2.3.0"]
;; Cleanup
[commons-codec "1.12"]
[cheshire "5.8.1"]]
:main ^:skip-aot com.cognitect.vase.main
:pedantic? :warn
:uberjar-name "vase-standalone.jar"
:plugins []
:jvm-opts ~(let [version (System/getProperty "java.version")
[major _ _] (clojure.string/split version #"\.")]
(if (<= 9 (java.lang.Integer/parseInt major) 10)
["--add-modules" "java.xml.bind"]
[]))
:test-selectors {:default (complement :integration)
:cloud :integration
:all (constantly true)}
:profiles {:srepl {:jvm-opts ^:replace ["-XX:+UseG1GC"
"-Dclojure.server.repl={:port 5555 :accept clojure.core.server/repl}"]}
:dev {:aliases {"crepl" ["trampoline" "run" "-m" "clojure.main/main"]
"srepl" ["with-profile" "srepl" "trampoline" "run" "-m" "clojure.main/main"]}
:source-paths ["dev"]
:resource-paths ["config"
"resources"
"test/resources"]
:dependencies [[org.clojure/tools.trace "0.7.10"]
[org.clojure/tools.namespace "0.3.0" :exclusions [[org.clojure/tools.reader]]]
[org.clojure/tools.reader "1.3.2"]
[org.clojure/test.check "0.9.0"]
;; Logging
[org.slf4j/slf4j-api "1.7.26"]
[ch.qos.logback/logback-classic "1.2.3" :exclusions [[org.slf4j/slf4j-api]]]
[org.slf4j/jul-to-slf4j "1.7.26"]
[org.slf4j/jcl-over-slf4j "1.7.26"]
[org.slf4j/log4j-over-slf4j "1.7.26"]]}
:test {:dependencies [[org.clojure/test.check "0.9.0"]
[io.pedestal/pedestal.service-tools "0.5.7" :exclusions [[org.slf4j/log4j-over-slf4j]
[org.slf4j/jul-to-slf4j]
[org.slf4j/jcl-over-slf4j]]]]
:resource-paths ["resources"
"test/resources"]}}
:min-lein-version "2.0.0")