-
Notifications
You must be signed in to change notification settings - Fork 97
/
project.clj
122 lines (98 loc) · 3.42 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
;; Copyright © 2014-2017, JUXT LTD.
(def VERSION "1.4.0-alpha1")
(defproject yada/core VERSION
:description "A powerful Clojure web library, full HTTP, full async"
:url "https://github.com/juxt/yada"
:license {:name "The MIT License"
:url "https://opensource.org/licenses/MIT"}
:exclusions [[org.clojure/clojure]]
;; See https://github.com/clojure-emacs/cider/issues/2110.
;; Re-enable when new Leiningen is released: 2.8.2 or later.
;;:pedantic? :abort
:dependencies
[[byte-streams "0.2.5-alpha2"]
[hiccup "1.0.5"]
[manifold "0.1.9-alpha3"]
[org.clojure/data.codec "0.1.0"]
[org.clojure/tools.reader "1.0.0-beta4"]
[potemkin "0.4.5"]
[prismatic/schema "1.1.9"]
[ring/ring-core "1.7.1"]]
;;:global-vars {*warn-on-reflection* true}
:profiles
{:test
{
:dependencies
[[org.clojure/clojure "1.9.0"]
;; Logging
[org.clojure/tools.logging "0.4.1"]
[ch.qos.logback/logback-classic "1.1.8"
:exclusions [org.slf4j/slf4j-api]]
[org.slf4j/jul-to-slf4j "1.7.22"]
[org.slf4j/jcl-over-slf4j "1.7.22"]
[org.slf4j/log4j-over-slf4j "1.7.22"]
;; Testing
[ring/ring-mock "0.3.2"]
[juxt/iota "0.2.3"]
;; webjars testing needs this in the path
[org.webjars/bootstrap "3.3.6"]
;; ext dependencies
[bidi "2.1.3"]
[aleph "0.4.7-alpha5"]
[org.clojure/core.async "0.3.442"]
[cheshire "5.8.0" :exclusions [com.fasterxml.jackson.core/jackson-core]]
[json-html "0.4.0" :exclusions [hiccups]]
[buddy/buddy-sign "3.0.0"]
[commons-codec "1.11"]
[metosin/ring-swagger "0.26.0" :exclusions [org.clojure/clojure]]
[org.webjars/swagger-ui "2.2.6"]
[com.cognitect/transit-clj "0.8.297" :exclusions [com.fasterxml.jackson.core/jackson-core]]
[org.webjars/webjars-locator "0.34" :exclusions [com.fasterxml.jackson.core/jackson-core]]
;; Required because of above exclusions
[com.fasterxml.jackson.core/jackson-core "2.9.0"]]
:source-paths
[
;; We use the 'default' bundle, that contains the most
;; test coverage. Tests for other bundles can be
;; run from the bundle directory itself.
"bundles/default/src"
;; source directories of dependency modules.
"ext/aleph/src"
"ext/async/src"
"ext/bidi/src"
"ext/json/src"
"ext/json-html/src"
"ext/jwt/src"
"ext/multipart/src"
"ext/oauth2/src"
"ext/swagger/src"
"ext/transit/src"
"ext/webjars/src"]
:test-paths ["bundles/default/test"]}
:dev
[:test ; so we can run the tests from our REPL
{:jvm-opts
["-Xms1g" "-Xmx1g"
"-server"
"-Dio.netty.leakDetectionLevel=paranoid"
"-Dyada.dir=."]
:repl-options {:init-ns user
:welcome (println "Type (dev) to start")}
;;:global-vars {*warn-on-reflection* true}
:dependencies
[
;; REPL and dev workflow
[org.clojure/tools.namespace "0.2.11"]
[org.clojure/tools.nrepl "0.2.13"]
[com.stuartsierra/component "0.3.2"]
[aero "1.0.1"]
;; Publishing user manual
[camel-snake-kebab "0.4.0"]
[org.asciidoctor/asciidoctorj "1.6.0-alpha.6"]
[org.asciidoctor/asciidoctorj-diagram "1.5.11"]
[net.sourceforge.plantuml/plantuml "1.2018.13"]
;; Performance testing
[criterium "0.4.4"]
[markdown-clj "0.9.91"]]
:source-paths ["dev/src"]
:resource-paths ["dev/resources"]}]})