I'm trying to figure out how to use clojure.repl.deps/add-libs by reading this post https://clojure.org/news/2023/04/14/clojure-1-12-alpha2 and the text is confusing me..it says:
> However, you do not want to add tools.deps and its many dependencies to your project classpath during development
If that's the case how could I call the clojure.repl.deps/add-libs function if tools.deps isn't in my classpath?
But then the article goes on to say that the add-libs uses the new invoke-tool feature, implying it is actual not so bad to depend on org.clojure/tools.deps.alpha during dev.
Also, I wanted to check out the code for this feature, but can't seem to find it in the repo, was it moved somewhere else? https://github.com/search?q=repo%3Aclojure%2Ftools.deps%20add-lib&type=code
The same post explains it: https://clojure.org/news/2023/04/14/clojure-1-12-alpha2#_invoke_tool_functions_out_of_process
Oh! The key thing I was missing was that these new functions are in clojure itself.