Fork me on GitHub
#leiningen
<
2021-03-04
>
jcsims04:03:09

anyone happen to know in what order of repository aether resolves dependencies? I'm wondering what happens when there's a conflict (e.g. if I specify [org.clojure/clojure "1.10.0"] and that is hosted in a private repo, as well as maven central, which one will get picked up?)

Alex Miller (Clojure team)13:03:17

I believe they will be searched in the order listed

Alex Miller (Clojure team)13:03:58

I would expect maven central and clojars to be searched first the way lein is set up

jcsims16:03:07

I expect so as well (maven is listed first after project.clj is read from disk, and clojars second, with the private repo last)