Skip to content

Commit b7c6f45

Browse files
authored
Merge pull request #51 from OpenVoxProject/nmburgan-patch-1
Revert logback version to 1.3.16
2 parents 3797d51 + e7108cd commit b7c6f45

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

project.clj

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
(def slf4j-version "2.0.17")
2-
(def logback-version "1.5.24")
2+
(def logback-version "1.3.16")
33
(def i18n-version "1.0.3")
44
(def kitchensink-version "3.5.5")
55

6+
(require '[clojure.string :as str]
7+
'[leiningen.core.main :as main])
8+
(defn fail-if-logback->1-3!
9+
"Fails the build if logback-version is > 1.3.x."
10+
[logback-version]
11+
(let [[x y] (->> (str/split (str logback-version) #"\.")
12+
(take 2)
13+
(map #(Integer/parseInt %)))]
14+
(when (or (> x 1)
15+
(and (= x 1) (> y 3)))
16+
(main/abort (format "logback-version %s is not supported by Jetty 10. Must be 1.3.x until we update to Jetty 12." logback-version)))))
17+
18+
(fail-if-logback->1-3! logback-version)
19+
620
(defproject org.openvoxproject/trapperkeeper "4.3.2-SNAPSHOT"
721
:description "A framework for configuring, composing, and running Clojure services."
822

0 commit comments

Comments
 (0)