Skip to content

How to require installed package? #9

@sandric

Description

@sandric

What should be the package name while requiring git dependency in code?
For example here is my code of project.clj:

:plugins [[lein-git-deps "0.0.1-SNAPSHOT"]]
:git-dependencies [["https://github.com/clj-jgit/clj-jgit.git"]]
:dependencies [[org.clojure/clojure "1.5.1"]])

in project directory, after running lein git-deps command, I getting new dir /.lein-git-deps/clj-jgit, but how can I now require it in code? For example, I can require this lib by including it normally in dependecies array in project.clj like so:

(:require [clj-jgit.internal]
            [clj-jgit.porcelain]
            [clj-jgit.querying])

But including it in git-dependencies array giving me an error. Am I doing smth wrong? Also, while installing this lib, it requires some extra libs for itself, but while running lein git-deps command it creates only dir with lib, without what it depends on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions