Skip to content

Commit

Permalink
Update to use repositories information #10
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidz committed Jul 18, 2020
1 parent fb80606 commit 2a58272
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/antq/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
(defn distinct-deps
[deps]
(->> deps
(map #(select-keys % [:type :name :version]))
(map #(select-keys % [:type :name :version :repositories]))
(map #(if (ver/snapshot? (:version %))
%
(dissoc % :version)))
Expand Down
2 changes: 1 addition & 1 deletion src/antq/ver/java.clj
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@
[dep]
(get-sorted-versions-by-name
(:name dep)
{:repositories default-repos
{:repositories (merge default-repos (:repositories dep))
:snapshots? (ver/snapshot? (:version dep))}))

0 comments on commit 2a58272

Please sign in to comment.