Fork me on GitHub
#tools-deps
<
2022-03-07
>
danielcompton19:03:03

How do I tell whether tools.deps has detected the right :deps/manifest or if I need to override it myself? Running clj -Stree just shows me the path to my source tree

Alex Miller (Clojure team)19:03:44

there's not really much magic here - it looks for deps.edn, then pom.xml, that's really all there is to it

Alex Miller (Clojure team)19:03:29

you can provide :deps/manifest to override but the main two cases for that are: • you have both, but want pom.xml • you have neither

Alex Miller (Clojure team)19:03:42

you could tell what it found by looking at the .lib file created in .cpcache (either by timestamp or by using -Sverbose to determine which hash it's looking at) - the coord should have a :deps/manifest entry