Welcome! Please see the About page for a little more info on how this works.

+2 votes
in tools.deps by
recategorized by

(I already asked this in Slack; I’m posting it here so it can be escalated into a JIRA issue, if the core team so desires.)

There’s a library on GitHub that I’d like to use as a gitlib. However, I can’t right now, because its Clojure code is under src/clj, and there doesn’t seem to be a way to override the last segment of the path to the lib that gets added to the classpath.

Is there a way to do this? If not, could a feature be added to support this?

(BTW it might be helpful if there was a category for tools or tools.deps or CLI tools.)

1 Answer

0 votes
by

You can use {:git/url ... :sha ... :deps/root "src/clj"}

Here a pratical example
https://github.com/roman01la/uix

by
Thanks @Enzzo. Unfortunately that doesn’t work, because the path that gets added to the classpath is then `<gitlib-project-root>/src/clj/src/`
...