Fork me on GitHub

Hey all! I'm consuming a library that seems to have packaged itself as an uberjar including all of its dependencies. I also depend on one of the libraries it uses and it looks like that it's overwriting the requires to an old version (which requires a java class that isn't packaged in the new one). Is there any way for me to force my project to use the new version instead of what it's using?


I'm not super familiar with the internals of how this all works, so if the above diagnosis is complete nonsense, please excuse me!

Alex Miller (Clojure team)16:01:44

you should tell that lib to stop doing that :)

Alex Miller (Clojure team)16:01:39

the effect you need is to force your lib version earlier in the classpath ordering. tools.deps mostly does not provide support for explicit ordering

Alex Miller (Clojure team)16:01:50

I possibly could come up with a hacky workaround, but it would be a hack. the real solution is the lib