-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
72 lines (60 loc) · 3.74 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
(def proto-version "3.25.3")
(defproject sample-donkey-api "0.1.0-SNAPSHOT"
:description "A sample Clojure http server"
:url "https://github.com/evg-tso/sample-donkey-api"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:java-source-paths ["src/java" "src/java/generated"]
:dependencies [; Core clojure
[org.clojure/clojure "1.11.3" :exclusions [org.clojure/spec.alpha]] ; provided by com.appsflyer/donkey
; Async
[funcool/promesa "11.0.678"]
; Validation
[metosin/malli "0.16.1"] ; provided by com.appsflyer/ketu
[commons-validator/commons-validator "1.8.0"]
; HTTP server
[com.appsflyer/donkey "0.5.2" :exclusions [metosin/jsonista ; is provided by metosin/reitit
org.slf4j/slf4j-api]] ; provided by nonseldiha/slf4j-mulog
[metosin/reitit "0.6.0" :exclusions [com.fasterxml.jackson.core/jackson-core]] ; provided by com.appsflyer/donkey
[ring/ring-core "1.12.1"]
; State management
[integrant "0.9.0"]
[com.walmartlabs/dyn-edn "0.2.0"]
; Logging
[com.brunobonacci/mulog "0.9.0"]
[nonseldiha/slf4j-mulog "0.2.1"]
; Kafka messaging
[com.appsflyer/ketu "1.0.0" :exclusions [expound ; provided by metosin/reitit
org.clojure/tools.reader ; provided by metosin/malli
org.slf4j/slf4j-api]] ; provided by nonseldiha/slf4j-mulog
; Protobuf
[com.google.protobuf/protobuf-java ~proto-version]
[com.appsflyer/pronto "2.1.2"]]
:pedantic? :abort
:main ^:skip-aot sample-donkey-api.core
:target-path "target/%s"
:lein-protodeps {:output-path "src/java/generated"
:proto-version ~proto-version
:compile-grpc? false
:repos {:local-proto {:repo-type :filesystem
:config {:path ""}
:proto-paths ["schemas"]
:dependencies [[""]]}}}
:profiles {:uberjar {:aot :all
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]}
:dev {:plugins [[lein-eftest "0.6.0"]
[lein-cloverage "1.2.4" :exclusions [org.clojure/clojure]]
; Protobuf
[com.appsflyer/lein-protodeps "1.0.5"]]
:dependencies [; Core clojure
[org.clojure/core.async "1.6.681" :exclusions [org.clojure/tools.reader]]
[criterium "0.4.6"]
; Code coverage
[cloverage "1.2.4" :exclusions [org.clojure/tools.reader]]
; test containers
[clj-test-containers "0.7.4" :exclusions [org.testcontainers/testcontainers]]
[org.testcontainers/kafka "1.19.7" :exclusions [org.slf4j/slf4j-api]]]
:eftest {:multithread? false
:capture-output? false
:report eftest.report.junit/report
:report-to-file "target/junit.xml"}}})