If you are interested in this functionality, I would collaborate with you
to develop a new project that uses pomegranate and the code in tools.deps
to dynamically load deps.edn files without restarting the REPL.
For now, if I want to add a new artifact, I just call pomegranate directly.
Just make sure to set clojure's base classloader to the currentThread.
(-> (Thread/currentThread)
(.setContextClassLoader (clojure.lang.RT/baseLoader)))
(cemerick.pomegranate/add-dependencies
:coordinates '[[refactor-nrepl "2.3.1"]
[cider/cider-nrepl "0.16.0-SNAPSHOT"]]
:repositories (merge a/maven-central
{"clojars" "https://clojars.org/repo"}))
On Tuesday, December 12, 2017 at 7:39:35 PM UTC-5, Asim Jalis wrote:
>
> Is it possible to load deps.edn dynamically without restarting the REPL in
> Clojure 1.9?
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.