Fork me on GitHub
#tools-deps
<
2021-12-05
>
dominicm10:12:05

Can I use a basis to get a list of jvm-opts/main-opts? I can see they're under :resolve-args and :classpath-args , but those don't have the right names & make-classpath2 does something very different to get what it calls "exec-args".

Alex Miller (Clojure team)14:12:34

Not currently but this is something I'm going to work on. There are a couple of tools.build tickets where this needed too. (It's incidental that they are under the other keys and you should not rely on that)

dominicm14:12:36

I thought it might be. I'm going to rely on it for now 🙈 with a mind that pack controls the tools.deps version anyway.

dominicm11:12:38

The naming of clojure.tools.cli.api in tools.deps is a bit confusing, it seems like it should be part of https://github.com/clojure/tools.cli on name alone!

dominicm11:12:31

Are there any naming conventions appearing around tools, apis, etc? It seems like <project>.api is for functions which take a basis <project>.cli.api is for functions which can be used from -T, and therefore don't take a basis Is that right?

Alex Miller (Clojure team)14:12:13

Yes, that's what we've been trying to do

dominicm14:12:05

@alexmiller I shall copy that then! New pack version coming out soon with the new tools.deps, tools.build support etc.