tools-deps

Discuss tools.deps.alpha, tools.build, and the clj/clojure command-line scripts! See also #depstar #clj-new
2021-04-17T16:35:51.009600Z

Hi. I wonder what is allowed to put under an :alias. It looks to me putting :mvn/repos under an alias has no effect.

2021-04-17T16:36:02.009900Z

But the reference is vague on what I can do. https://clojure.org/reference/deps_and_cli

practicalli-john 2021-04-17T16:48:27.011600Z

@i :mvn/repos is a top level key in deps.edn, along with :deps , :path and :aliases, so I wouldn't expect it to be used within one of the other top level keys. I assume any other names than those of top level keys are usable within :aliases. I use namespaced keywords to add context to the aliases and hopefully avoid clashing with any additional top level aliases that may be introduced in future (although things have been quite stable for a while) https://github.com/practicalli/clojure-deps-edn