-
Notifications
You must be signed in to change notification settings - Fork 8
/
project.clj
41 lines (32 loc) · 1.63 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
(defproject authenticated-compojure-api "0.1.0-SNAPSHOT"
:description "An example compojure-api app with authentication using buddy"
:dependencies [[org.clojure/clojure "1.7.0"]
[metosin/compojure-api "0.23.1"]
[metosin/ring-http-response "0.6.5"]
[metosin/ring-swagger-ui "2.1.3"]
[cheshire "5.5.0"]
[http-kit "2.1.19"]
[buddy "0.7.2"]
[org.clojure/java.jdbc "0.4.2"]
[postgresql/postgresql "9.3-1102.jdbc41"]
[yesql "0.5.1"]
[environ "1.0.1"]
[clj-time "0.11.0"]
[com.draines/postal "1.11.4"]]
:plugins [[lein-environ "1.0.1"]]
:min-lein-version "2.5.0"
:uberjar-name "server.jar"
:profiles {:uberjar {:resource-paths ["swagger-ui"]
:aot :all}
:test-local {:dependencies [[javax.servlet/servlet-api "2.5"]
[ring-mock "0.1.5"]]}
;; Set these in ./profiles.clj
:test-env-vars {}
:dev-env-vars {}
:test [:test-local :test-env-vars]
:dev [:dev-env-vars :test-local]
:production {:ring {:open-browser? false
:stacktraces? false
:auto-reload? false}}}
:test-selectors {:default (constantly true)
:wip :wip})