-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
27 lines (23 loc) · 1018 Bytes
/
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
(defproject http-service-lein "1.1.0"
;;; Project Metadata
:description "Http service template with Leiningen."
:url "https://github.com/wdhowe/http-service-lein"
: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/"}
;;; Dependencies, Plugins
:dependencies [[org.clojure/clojure "1.11.2"]
[org.clojure/tools.logging "1.3.0"]
[compojure "1.7.1"]
[environ "1.2.0"]
[http-kit "2.7.0"]
[ring/ring-defaults "0.4.0"]
[ring/ring-json "0.5.1"]
[trptcolin/versioneer "0.2.0"]]
:plugins [[lein-ring "0.12.5"]]
;;; Profiles
:profiles {:dev {:dependencies [[javax.servlet/servlet-api "2.5"]
[ring/ring-mock "0.4.0"]]}
:uberjar {:aot :all}}
;;; Running Project Code
:ring {:handler http-service-lein.core/app}
:main ^:skip-aot http-service-lein.core)