A clojurescript library that provides dependency resolution for maven artifacts. Huckleberry aims to be a jvm-less replacement for Pomergranate and Aether, where possible.
- Maven dependencies expressed in lein style coordinates eg: [commons-logging "1.0"]
- Local repo
- Exclusions
- Resolving transient dependencies via the parent or using versions interpolated from the properties in the POM file where required.
- Proxies or Mirrors
- Managed coordinates
- Classpath arithmetic/handling
Huckleberry can be found in clojars. Add it to your leiningen project
[org.clojars.eginez/huckleberry "0.2.0"]
The entry function can be used like so
(huckleberry/resolve-depedencies :coordinates '[[commons-logging "1.1" :retrieve false]])
This will return a channel which will push a list with [status depedency-graph flatten-depdency-list]
(huckleberry/resolve-depedencies :coordinates '[[commons-logging "1.1" :retrieve true]])
Will return channel that will output the status of each of the files that need to be downloaded
For more examples on how to use the library look in the test directory
Run lein deps
followed by lein doo node test
.
Copyright (C) 2016 Esteban Ginez
Distributed under the Eclipse Public License, the same as Clojure.