Skip to content

cljr add project dependency

Lars Andersen edited this page Nov 29, 2015 · 5 revisions

ap Add project dependency

Easily add new project dependencies. The function takes you through the following steps:

  1. Completing read among artifacts from clojars, and a selection from maven central.
  2. Completing read among of available versions.
  3. Insertion of dependency vector into project.clj, or build.boot.
  4. Hotloading of the artifact into the REPL.

When this function is called with a prefix the artifact cache is invalidated and updated, synchronously.

The variable cljr-hotload-dependencies defaults to true and determines if new dependencies should be hotloaded or not.