The https://clojure.org/guides/tools_build#_compiled_uberjar_application_build recommends adding a dependency on tools.build to the :deps of an alias. My understanding is that -T ignores :extra-deps. If I want to be able to call my build functions from the Clojure REPL in development is the right thing to add an additional dependency on tools.build to the :extra-deps of a development alias?
:deps and :extra-deps in an alias are synonyms
so use either
you will likely also want to add :paths or :extra-paths (again, synonyms) of ["."]
why two different named things that do the same thing? naming is hard, yo
Ah! I thought :deps overwrote.
And that -T ignores :extra-deps, per this: https://clojurians.slack.com/archives/C6QH853H8/p1595955792137500
that's actually in reference to an entirely different -T that was added temporarily in a dev release then removed, that did something different than the current -T
sorry, I may have actually completely confused things above - in aliases, :deps is a synonym for :replace-deps and :paths is a synonym for :replace-paths. And those are separate from :extra-deps and :extra-paths. But none of them are ignored.
Brilliant. Okay.