tools-deps

Discuss tools.deps.alpha, tools.build, and the clj/clojure command-line scripts! See also #depstar #clj-new
Eugen 2021-03-01T06:20:16.098300Z

how can I use tool-deps to download a jar to a specific location? I need to install a JVM agent that should not be on the classpath but I would like to manage it via deps.edn. I hcecked https://clojure.github.io/tools.deps.alpha/clojure.tools.deps.alpha-api.html and it does not say how the dependencies are downloaded

alexmiller 2021-03-01T06:24:55.099300Z

Tools.deps uses Maven which only downloads jars to the local repo

alexmiller 2021-03-01T06:26:38.101100Z

You can specify a :mvn/local-repo key to affect that but seems like it would be cumbersome in combination with managing your regular class path

alexmiller 2021-03-01T06:27:43.102800Z

I guess you could create an alias with just that dep on it, use that to download, and then control what you’re doing with the result somehow