lein-tools-deps icon indicating copy to clipboard operation
lein-tools-deps copied to clipboard

Optionally use tools.deps default-deps

Open mfikes opened this issue 5 years ago • 1 comments

tools.deps introduced a new function default-deps https://github.com/clojure/tools.deps.alpha/blob/7bd29bfc80560e3cc9183491333b2cb98513db22/src/main/clojure/clojure/tools/deps/alpha/reader.clj#L103

This could potentially be used in lein-tools-deps.deps/make-deps to form the argument of read-deps in lieu of an explicit configuration being required for :lein-tools-deps/config

mfikes avatar Jul 02 '19 13:07 mfikes

Well spotted @mfikes.

I guess we'd still want to support supplying your own :config-files, though we can probably change the default to be driven by the new default-deps function.

I'd certainly consider a PR for this.

RickMoynihan avatar Jul 31 '19 09:07 RickMoynihan