2025-10-28 12:49:37 +00:00
|
|
|
(defproject metosin/reitit-parent "0.9.2"
|
2017-08-07 11:08:39 +00:00
|
|
|
:description "Snappy data-driven router for Clojure(Script)"
|
|
|
|
|
:url "https://github.com/metosin/reitit"
|
|
|
|
|
:license {:name "Eclipse Public License"
|
2017-10-26 16:25:09 +00:00
|
|
|
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
2017-08-07 11:08:39 +00:00
|
|
|
:test-paths ["test/clj" "test/cljc"]
|
2024-04-30 08:51:18 +00:00
|
|
|
:deploy-repositories [["clojars" {:url "https://repo.clojars.org"
|
|
|
|
|
:username :env/clojars_username
|
2025-10-24 13:08:19 +00:00
|
|
|
:password :env/clojars_password
|
2025-10-24 13:14:11 +00:00
|
|
|
:sign-releases false}]]
|
2024-04-30 08:51:18 +00:00
|
|
|
:repositories [["clojars" {:url "https://repo.clojars.org"
|
|
|
|
|
:username :env/clojars_username
|
|
|
|
|
:password :env/clojars_password}]]
|
2017-08-07 11:08:39 +00:00
|
|
|
:codox {:output-path "doc"
|
|
|
|
|
:source-uri "https://github.com/metosin/reitit/{version}/{filepath}#L{line}"
|
|
|
|
|
:metadata {:doc/format :markdown}}
|
2018-09-03 16:38:54 +00:00
|
|
|
:scm {:name "git"
|
|
|
|
|
:url "https://github.com/metosin/reitit"}
|
2025-03-28 13:40:26 +00:00
|
|
|
;; Ring 1.13.1 drops support for Java 1.8 so lets target 11
|
|
|
|
|
:javac-options ["-Xlint:unchecked" "-target" "11" "-source" "11"]
|
2025-10-28 12:49:37 +00:00
|
|
|
:managed-dependencies [[metosin/reitit "0.9.2"]
|
|
|
|
|
[metosin/reitit-core "0.9.2"]
|
|
|
|
|
[metosin/reitit-dev "0.9.2"]
|
|
|
|
|
[metosin/reitit-spec "0.9.2"]
|
|
|
|
|
[metosin/reitit-malli "0.9.2"]
|
|
|
|
|
[metosin/reitit-schema "0.9.2"]
|
|
|
|
|
[metosin/reitit-ring "0.9.2"]
|
|
|
|
|
[metosin/reitit-middleware "0.9.2"]
|
|
|
|
|
[metosin/reitit-http "0.9.2"]
|
|
|
|
|
[metosin/reitit-interceptors "0.9.2"]
|
|
|
|
|
[metosin/reitit-swagger "0.9.2"]
|
|
|
|
|
[fi.metosin/reitit-openapi "0.9.2"]
|
|
|
|
|
[metosin/reitit-swagger-ui "0.9.2"]
|
|
|
|
|
[metosin/reitit-frontend "0.9.2"]
|
|
|
|
|
[metosin/reitit-sieppari "0.9.2"]
|
|
|
|
|
[metosin/reitit-pedestal "0.9.2"]
|
2025-03-27 11:53:35 +00:00
|
|
|
[metosin/ring-swagger-ui "5.20.0"]
|
2024-06-30 15:58:13 +00:00
|
|
|
[metosin/spec-tools "0.10.7"]
|
2023-05-21 12:58:20 +00:00
|
|
|
[metosin/schema-tools "0.13.1"]
|
2025-03-27 11:53:35 +00:00
|
|
|
[metosin/muuntaja "0.6.11"]
|
|
|
|
|
[metosin/jsonista "0.3.13"]
|
2020-05-18 11:52:41 +00:00
|
|
|
[metosin/sieppari "0.0.0-alpha13"]
|
2025-10-24 11:49:41 +00:00
|
|
|
[metosin/malli "0.19.2"]
|
2018-12-27 14:01:31 +00:00
|
|
|
|
2020-01-17 16:37:34 +00:00
|
|
|
;; https://clojureverse.org/t/depending-on-the-right-versions-of-jackson-libraries/5111
|
2025-10-24 11:49:41 +00:00
|
|
|
[com.fasterxml.jackson.core/jackson-core "2.20.0"]
|
|
|
|
|
[com.fasterxml.jackson.core/jackson-databind "2.20.0"]
|
2020-01-17 16:37:34 +00:00
|
|
|
|
2018-12-27 14:01:31 +00:00
|
|
|
[meta-merge "1.0.0"]
|
2025-10-24 11:49:41 +00:00
|
|
|
[fipp "0.6.29" :exclusions [org.clojure/core.rrb-vector]]
|
2023-06-12 14:57:51 +00:00
|
|
|
;; Deep-diff uses this version, override olders versiom from fipp.
|
2024-04-20 13:38:41 +00:00
|
|
|
[org.clojure/core.rrb-vector "0.2.0"]
|
2022-02-12 20:30:42 +00:00
|
|
|
[expound "0.9.0"]
|
2019-04-12 16:46:16 +00:00
|
|
|
[lambdaisland/deep-diff "0.0-47"]
|
2020-05-12 05:32:40 +00:00
|
|
|
[com.bhauman/spell-spec "0.1.2"]
|
2023-06-12 14:50:10 +00:00
|
|
|
[mvxcvi/arrangement "2.1.0"]
|
2025-10-24 11:49:41 +00:00
|
|
|
[ring/ring-core "1.15.3"]
|
2018-12-27 14:01:31 +00:00
|
|
|
|
2025-10-24 11:49:41 +00:00
|
|
|
[io.pedestal/pedestal.service "0.6.4" :upgrade false]]
|
2017-10-28 09:47:55 +00:00
|
|
|
|
2024-08-30 15:04:22 +00:00
|
|
|
:plugins [[jonase/eastwood "1.4.3"]
|
2019-02-03 13:22:59 +00:00
|
|
|
;[lein-virgil "0.1.7"]
|
2023-04-13 06:15:10 +00:00
|
|
|
[lein-ancient "1.0.0-RC3"]
|
2018-12-22 07:53:40 +00:00
|
|
|
[lein-doo "0.1.11"]
|
2020-05-09 15:27:52 +00:00
|
|
|
[lein-cljsbuild "1.1.8"]
|
2023-03-18 18:26:32 +00:00
|
|
|
[lein-cloverage "1.2.4"]
|
2022-02-12 20:30:42 +00:00
|
|
|
[lein-codox "0.10.8"]
|
2020-05-09 15:27:52 +00:00
|
|
|
[metosin/bat-test "0.4.4"]]
|
2017-10-25 14:26:18 +00:00
|
|
|
|
|
|
|
|
:profiles {:dev {:jvm-opts ^:replace ["-server"]
|
2017-10-28 09:17:20 +00:00
|
|
|
|
|
|
|
|
;; all module sources for development
|
|
|
|
|
:source-paths ["modules/reitit/src"
|
|
|
|
|
"modules/reitit-core/src"
|
2019-03-03 18:54:21 +00:00
|
|
|
"modules/reitit-dev/src"
|
2017-10-28 09:17:20 +00:00
|
|
|
"modules/reitit-ring/src"
|
2018-08-05 14:32:57 +00:00
|
|
|
"modules/reitit-http/src"
|
2018-07-17 13:47:22 +00:00
|
|
|
"modules/reitit-middleware/src"
|
2022-08-30 16:24:21 +00:00
|
|
|
"modules/reitit-openapi/src"
|
2018-09-07 16:50:10 +00:00
|
|
|
"modules/reitit-interceptors/src"
|
2019-12-01 18:42:12 +00:00
|
|
|
"modules/reitit-malli/src"
|
2017-11-24 17:09:45 +00:00
|
|
|
"modules/reitit-spec/src"
|
2018-02-12 05:55:08 +00:00
|
|
|
"modules/reitit-schema/src"
|
2018-05-14 05:21:47 +00:00
|
|
|
"modules/reitit-swagger/src"
|
2018-01-12 09:04:44 +00:00
|
|
|
"modules/reitit-swagger-ui/src"
|
2018-08-19 19:56:54 +00:00
|
|
|
"modules/reitit-frontend/src"
|
2018-12-26 13:43:26 +00:00
|
|
|
"modules/reitit-sieppari/src"
|
|
|
|
|
"modules/reitit-pedestal/src"]
|
2017-10-28 09:17:20 +00:00
|
|
|
|
2019-01-27 20:10:46 +00:00
|
|
|
:java-source-paths ["modules/reitit-core/java-src"]
|
2019-01-13 12:03:07 +00:00
|
|
|
|
2025-03-28 13:54:24 +00:00
|
|
|
:dependencies [[org.clojure/clojure "1.11.4"]
|
2025-10-24 11:49:41 +00:00
|
|
|
[thheller/shadow-cljs "3.2.1"]
|
|
|
|
|
[org.clojure/clojurescript "1.12.42"]
|
2017-08-30 05:19:21 +00:00
|
|
|
|
2017-11-26 19:51:21 +00:00
|
|
|
;; modules dependencies
|
2023-05-17 13:06:29 +00:00
|
|
|
[metosin/schema-tools "0.13.1"]
|
2024-06-30 15:58:13 +00:00
|
|
|
[metosin/spec-tools "0.10.7"]
|
2025-03-27 11:53:35 +00:00
|
|
|
[metosin/muuntaja "0.6.11"]
|
2020-10-12 07:17:07 +00:00
|
|
|
[metosin/sieppari "0.0.0-alpha13"]
|
2025-03-27 11:53:35 +00:00
|
|
|
[metosin/jsonista "0.3.13"]
|
2025-10-24 11:49:41 +00:00
|
|
|
[metosin/malli "0.19.2"]
|
2020-05-09 15:27:52 +00:00
|
|
|
[lambdaisland/deep-diff "0.0-47"]
|
|
|
|
|
[meta-merge "1.0.0"]
|
2020-05-12 20:44:10 +00:00
|
|
|
[com.bhauman/spell-spec "0.1.2"]
|
2022-02-12 20:30:42 +00:00
|
|
|
[expound "0.9.0"]
|
2025-10-24 11:49:41 +00:00
|
|
|
[fipp "0.6.29"]
|
2017-08-30 05:19:21 +00:00
|
|
|
|
2021-02-04 06:41:33 +00:00
|
|
|
[orchestra "2021.01.01-1"]
|
2017-09-01 08:32:08 +00:00
|
|
|
|
2025-10-24 11:49:41 +00:00
|
|
|
[ring "1.15.3"]
|
2018-05-20 18:41:38 +00:00
|
|
|
[ikitommi/immutant-web "3.0.0-alpha1"]
|
2025-03-27 11:53:35 +00:00
|
|
|
[metosin/ring-http-response "0.9.5"]
|
|
|
|
|
[metosin/ring-swagger-ui "5.20.0"]
|
2024-04-20 13:38:41 +00:00
|
|
|
[org.clojure/tools.analyzer "1.2.0"]
|
2017-12-01 07:32:26 +00:00
|
|
|
|
2020-07-09 19:00:05 +00:00
|
|
|
[criterium "0.4.6"]
|
2022-02-12 20:30:42 +00:00
|
|
|
[org.clojure/test.check "1.1.1"]
|
2024-04-20 13:38:41 +00:00
|
|
|
[org.clojure/tools.namespace "1.5.0"]
|
2025-10-24 11:49:41 +00:00
|
|
|
[com.gfredericks/test.chuck "0.2.15"]
|
|
|
|
|
[nubank/matcher-combinators "3.9.2"]
|
2018-06-08 13:00:49 +00:00
|
|
|
|
2025-10-24 11:49:41 +00:00
|
|
|
;; TODO: adapt to breaking changes in pedestal 0.7 and 0.8
|
|
|
|
|
[io.pedestal/pedestal.service "0.6.4" :upgrade false]
|
2018-12-26 13:43:26 +00:00
|
|
|
|
2025-10-24 11:49:41 +00:00
|
|
|
[org.clojure/core.async "1.8.741"]
|
2024-06-29 13:27:10 +00:00
|
|
|
[manifold "0.4.3"]
|
2024-04-20 13:38:41 +00:00
|
|
|
[funcool/promesa "11.0.678"]
|
2018-09-03 09:35:28 +00:00
|
|
|
|
2025-10-24 11:49:41 +00:00
|
|
|
[com.clojure-goes-fast/clj-async-profiler "1.6.2"]
|
2019-05-10 12:25:00 +00:00
|
|
|
[ring-cors "0.1.13"]
|
2019-01-27 16:57:29 +00:00
|
|
|
|
2025-03-27 11:53:35 +00:00
|
|
|
[com.bhauman/rebel-readline "0.1.5"]]}
|
2025-01-22 09:50:12 +00:00
|
|
|
:shadow {:test-paths ["test/cljs"]}
|
2017-10-02 05:06:02 +00:00
|
|
|
:perf {:jvm-opts ^:replace ["-server"
|
|
|
|
|
"-Xmx4096m"
|
2017-10-22 14:49:59 +00:00
|
|
|
"-Dclojure.compiler.direct-linking=true"]
|
|
|
|
|
:test-paths ["perf-test/clj"]
|
2025-10-24 11:49:41 +00:00
|
|
|
:dependencies [[compojure "1.7.2"]
|
|
|
|
|
[ring/ring-defaults "0.7.0"]
|
2018-04-22 15:00:33 +00:00
|
|
|
[ikitommi/immutant-web "3.0.0-alpha1"]
|
2025-10-24 11:49:41 +00:00
|
|
|
[io.pedestal/pedestal.service "0.6.4" :upgrade false]
|
|
|
|
|
[io.pedestal/pedestal.jetty "0.6.4" :upgrade false]
|
2021-02-04 18:40:25 +00:00
|
|
|
[calfpath "0.8.1"]
|
2025-10-24 11:49:41 +00:00
|
|
|
[org.clojure/core.async "1.8.741"]
|
2024-06-29 13:27:10 +00:00
|
|
|
[manifold "0.4.3"]
|
2024-04-20 13:38:41 +00:00
|
|
|
[funcool/promesa "11.0.678"]
|
2018-12-30 15:32:05 +00:00
|
|
|
[metosin/sieppari]
|
2018-12-22 07:53:40 +00:00
|
|
|
[yada "1.2.16"]
|
2025-10-24 11:49:41 +00:00
|
|
|
[aleph "0.9.3"]
|
2023-01-09 15:13:04 +00:00
|
|
|
[ataraxy "0.4.3"]
|
2020-02-02 22:01:12 +00:00
|
|
|
[bidi "2.1.6"]
|
2020-05-09 15:27:52 +00:00
|
|
|
[janus "1.3.2"]]}
|
2017-10-02 05:06:02 +00:00
|
|
|
:analyze {:jvm-opts ^:replace ["-server"
|
|
|
|
|
"-Dclojure.compiler.direct-linking=true"
|
|
|
|
|
"-XX:+PrintCompilation"
|
|
|
|
|
"-XX:+UnlockDiagnosticVMOptions"
|
|
|
|
|
"-XX:+PrintInlining"]}}
|
2023-09-01 07:22:50 +00:00
|
|
|
:aliases {"all" ["with-profile" "dev,default"]
|
2017-08-07 11:08:39 +00:00
|
|
|
"perf" ["with-profile" "default,dev,perf"]
|
2018-03-10 10:28:49 +00:00
|
|
|
"test-clj" ["all" "do" ["bat-test"] ["check"]]
|
2025-01-22 11:36:59 +00:00
|
|
|
;; NOTE: These are deprecated, kept around for ensuring shadow-cljs works
|
|
|
|
|
;; the same way.
|
2017-10-25 14:32:12 +00:00
|
|
|
"test-browser" ["doo" "chrome-headless" "test"]
|
2017-10-25 14:26:18 +00:00
|
|
|
"test-advanced" ["doo" "chrome-headless" "advanced-test"]
|
2017-08-07 11:08:39 +00:00
|
|
|
"test-node" ["doo" "node" "node-test"]}
|
2017-10-25 14:26:18 +00:00
|
|
|
|
2018-03-10 10:28:49 +00:00
|
|
|
:bat-test {:report [:pretty
|
2017-10-25 14:26:18 +00:00
|
|
|
{:type :junit
|
2018-03-10 10:32:16 +00:00
|
|
|
:output-to "target/results/reitit/junit.xml"}]}
|
2017-10-25 14:26:18 +00:00
|
|
|
|
2018-03-13 12:40:38 +00:00
|
|
|
:doo {:paths {:karma "./node_modules/.bin/karma"}
|
2025-01-22 11:36:59 +00:00
|
|
|
:karma {:config {"reporters" ["progress"]}}}
|
2018-03-13 12:40:38 +00:00
|
|
|
|
2017-08-07 11:08:39 +00:00
|
|
|
:cljsbuild {:builds [{:id "test"
|
|
|
|
|
:source-paths ["src" "test/cljc" "test/cljs"]
|
|
|
|
|
:compiler {:output-to "target/out/test.js"
|
|
|
|
|
:output-dir "target/out"
|
|
|
|
|
:main reitit.doo-runner
|
|
|
|
|
:optimizations :none}}
|
|
|
|
|
{:id "advanced-test"
|
|
|
|
|
:source-paths ["src" "test/cljc" "test/cljs"]
|
|
|
|
|
:compiler {:output-to "target/advanced_out/test.js"
|
|
|
|
|
:output-dir "target/advanced_out"
|
|
|
|
|
:main reitit.doo-runner
|
|
|
|
|
:optimizations :advanced}}
|
|
|
|
|
;; Node.js requires :target :nodejs, hence the separate
|
|
|
|
|
;; build configuration.
|
|
|
|
|
{:id "node-test"
|
|
|
|
|
:source-paths ["src" "test/cljc" "test/cljs"]
|
|
|
|
|
:compiler {:output-to "target/node_out/test.js"
|
|
|
|
|
:output-dir "target/node_out"
|
|
|
|
|
:main reitit.doo-runner
|
|
|
|
|
:optimizations :none
|
|
|
|
|
:target :nodejs}}]})
|