mirror of https://github.com/sbt/sbt.git
This support excluding a library from the dependency tree for a given
set of `ExclusionRule`s. There are two ways to achieve this:
- Using `organization` and `name` pairs:
val dep = "org" % "name" % "version" exclude("commons-codec", "commons-codec") exclude("org.slf4j", "slf4j-log4j")
- Using `ExclusionRule`:
val dep = "org" % "name" % "version" excludeAll(ExclusionRule("commons-codec", "commons-codec"), ExclusionRule("org.slf4j", "slf4j-log4j"))
|
||
|---|---|---|
| .. | ||
| AggressiveCompile.scala | ||
| CacheIvy.scala | ||
| Compiler.scala | ||
| Console.scala | ||
| Doc.scala | ||
| DotGraph.scala | ||
| Package.scala | ||
| Sync.scala | ||
| Tests.scala | ||