Fork me on GitHub
#leiningen
<
2018-11-13
>
lispyclouds06:11:38

@tcrawley I am building this project https://github.com/lispyclouds/clj-docker-client This wraps over https://github.com/spotify/docker-client which is completely in Java. I was deploying it with the usual lein deploy clojars and it worked fine if i added [lispyclouds/clj-docker-client "0.1.3"] in a project.clj with leiningen. But when i tried adding {:deps {lispyclouds/clj-docker-client {:mvn/version "0.1.3"}}} to a deps.edn and tried (docker/image-ls conn) i get the exception

ClassNotFoundException com.kenai.jffi.Type  jdk.internal.loader.BuiltinClassLoader.loadClass (BuiltinClassLoader.java:583)
this is a dependency of the spoitfy docker client. This gets solved if i add the uberjar with local/root in my deps.edn so i was thinking if i should upload the uberjar which i now realize is a bad idea 😞