Liking cljdoc? Tell your friends :D

Exclusions

When you’d like to exclude specific dependencies, you could --exclude option as you know.

Otherwise, the following ways are available.

Metadata in your project file

:antq/exclude metadata is available for excluding dependencies.

deps.edn

{:deps {foo/bar ^:antq/exclude {:mvn/version "..."}}}

shadow-cljs.edn

{:dependencies [^:antq/exclude [foo/bar "..."]]}

project.clj

(defproject foo "0.1.0-SNAPSHOT"
  :dependencies [^:antq/exclude [foo/bar "..."]]

build.boot

(set-env!
  :dependencies '[^:antq/exclude [foo/bar "..."]])

bb.edn

{: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