tools-deps

2024-08-01T06:23:13.045129Z

Say I have a bunch of Java jars that all depend on each other locally in a folder. I want to depend on them from Clojure. So I add that folder to extra-paths. Now say one of those jars is a version of Jackson but I also directly depend on Jackson in my :deps. Will the generated class-path always put the version of Jackson from :deps beforethe extra-paths ?

Alex Miller (Clojure team) 2024-08-01T10:57:47.896299Z

Putting the path to the jars on the classpath doesn’t do anything

Alex Miller (Clojure team) 2024-08-01T10:58:39.465909Z

But :paths are always in front of :deps

Alex Miller (Clojure team) 2024-08-01T10:59:53.912679Z

You would really need to add these as local deps with path to the jar and you would then have to pick which one is the Jackson dep