(defn find-lib-jars
"Returns a seq of Files for all the jars in the project's library directory."
[project]
(filter #(.endsWith (.getName %) ".jar")
(concat (.listFiles (file (:library-path project)))
;; This must be hard-coded because it's used in
;; bin/lein and thus can't be changed in project.clj.
(.listFiles (file (:root project) "lib/dev")))))
Comments top
No comments for find-lib-jars. Log in to add a comment.