{:deps {foo/bar ^:antq/exclude {:mvn/version "..."}}}
When you’d like to exclude specific dependencies, you could --exclude
option as you know.
Otherwise, the following ways are available.
:antq/exclude
metadata is available for excluding dependencies.
{:deps {foo/bar ^:antq/exclude {:mvn/version "..."}}}
{:dependencies [^:antq/exclude [foo/bar "..."]]}
(defproject foo "0.1.0-SNAPSHOT"
:dependencies [^:antq/exclude [foo/bar "..."]]
(set-env!
:dependencies '[^:antq/exclude [foo/bar "..."]])
{:deps {foo/bar ^:antq/exclude {:mvn/version "..."}}}
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close