grenada.sources

Procedures for obtaining collections of Things from various places.

from-depspec

(from-depspec depspec)
Inputs: [depspec :- LeinDepSpec]

Returns a sequence of Things as read from the JAR file denoted by DEP-SPEC.

Note that this procedure doesn't check whether the Things read from the JAR
are valid.

from-jar

(from-jar jar-fileable)
Returns a sequence of Things as read from from JAR-FILEABLE. JAR-FILEABLE is
anything that can be passed to clj::darkestperu.jar/jar-seq.

Note that this procedure doesn't check whether the Things read from the JAR
are valid.

LeinDepSpec

A Leiningen dependency specification. – Same as in project.clj, also used by
Pomegranate.

resolve-artifact

(resolve-artifact dep-spec)
Inputs: [dep-spec :- LeinDepSpec]
Returns: File

Returns a File pointing to the JAR file described by DEP-SPEC.

If the JAR isn't present in the local Maven repository, it will be downloaded
from one of the repositories configured in clj::grenada.config/config.