Fork me on GitHub
#tools-deps
<
2022-05-22
>
Joshua Suskalo22:05:04

I'd like to confirm, the :deps key on aliases is deprecated in favor of :replace-deps, right?

practicalli-johnny12:05:50

I consider :deps to be an short (and vague) version of :replace-deps key, so try avoid using it. I change any :deps to :replace-deps so I have one less thing to remember 😉

Alex Miller (Clojure team)22:05:38

not deprecated, they are both valid alternatives that do the same thing

Joshua Suskalo22:05:39

alright, I was curious because :replace-deps is mentioned in the reference on the site, but just :deps on aliases is not. Is the behavior defined if both are present?

seancorfield00:05:48

They are aliases for each other. If have to look in the source code to see which one "wins" if you specified both.