Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
filter on :mvn manifest when getting dep jars to fix luchiniatwork#9
Browse files Browse the repository at this point in the history
  • Loading branch information
xfthhxk authored and jdhollis committed Nov 28, 2019
1 parent e0764cf commit 3d8b3e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cambada/uberjar.clj
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@
(let [deps-aliases (map keyword (some-> task :resolve-deps (string/split #":")))
extra-deps (when (not-empty deps-aliases) (tools.deps/combine-aliases deps-map deps-aliases))]
(->> (tools.deps/resolve-deps deps-map extra-deps)
(filter (fn [[_ {:keys [deps/manifest]}]]
(= :mvn manifest)))
(map (fn [[_ {:keys [paths]}]] paths))
(mapcat identity))))

Expand Down

0 comments on commit 3d8b3e2

Please sign in to comment.