org.clojars.thisdotrob/huckleberry

maven dependecy resolution in clojurescript



Documentation

Huckleberry Clojars Project

A clojurescript library that provides dependency resolution for maven artifacts. Huckleberry aims to be a jvm-less replacement for Pomergranate and Aether, where possible.

Huckleberry supports

  • Maven dependencies expressed in lein style coordinates eg: [commons-logging "1.0"]
  • Local repo
  • Exclusions

Huckleberry does not support

  • Proxies or Mirrors
  • Managed coordinates
  • Classpath arithmetic/handling

Installation

Huckleberry can be found in clojars. Add it to your leiningen project

[org.clojars.eginez/huckleberry "0.2.0"]

Usage

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

License

Copyright (C) 2016 Esteban Ginez

Distributed under the Eclipse Public License, the same as Clojure.