File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments