Fork me on GitHub
#tools-deps
<
2021-03-01
>
Eugen06:03:16

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

alexmiller06:03:55

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

alexmiller06:03:38

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

alexmiller06:03:43

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