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

0 votes
in tools.deps.alpha 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

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

Here a pratical example

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