librelist archives

« back to archive

Order dependency of dependencies

Order dependency of dependencies

From:
Chris Perkins
Date:
2013-08-29 @ 20:51
I always sort-of assumed that dependencies in a project.clj were
order-independent.

That is, I thought that when conflicting versions of a transitive
dependency were found, the highest-numbered one would be picked. I just
discovered today that this is not the case, and that the first-found
version seems to be picked.

Is this intentional? Should I just add exclusions to get around this?
(re-ordering dependencies in my project file can fix some of the problems
I'm having, but seems like an unwinnable game in the long run).

- Chris Perkins