ClojureDocs

Namespaces

clojure.repl.deps

clojure.repl.deps provides facilities for dynamically modifying the available
  libraries in the runtime when running at the REPL, without restarting

clojure.repl.deps (introduced in 1.12.0) provides facilities for dynamically modifying the available
libraries in the runtime when running at the REPL, without restarting.

This namespace is intended only for development-time use in a REPL

Functions are automatically referred in the user namespace. In other namespaces, you may need to (require '[clojure.repl.deps :refer [add-lib add-libs sync-deps]]) before use.

Vars in clojure.repl.deps

a

add-lib
Given a lib that is not yet on the repl classpath, make it available by downloading the library if necessary and adding it to the classloader. Libs already on the classpath are not updated. Requires a valid parent DynamicClassLoader. lib - symbol identifying a library, for Maven: groupId/artifactId coord - optional map of location information specific to the procurer, or latest if not supplied Returns coll of libs loaded, including transitive (or nil if none). For info on libs, coords, and versions, see: https://clojure.org/reference/deps_and_cli
add-libs
Given lib-coords, a map of lib to coord, will resolve all transitive deps for the libs together and add them to the repl classpath, unlike separate calls to add-lib.

s

sync-deps
Calls add-libs with any libs present in deps.edn but not yet present on the classpath. :aliases - coll of alias keywords to use during the sync