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"))
|
||
|---|---|---|
| .. | ||
| src | ||
| ComponentManager.scala | ||
| ConflictWarning.scala | ||
| ConvertResolver.scala | ||
| Credentials.scala | ||
| CustomPomParser.scala | ||
| CustomXmlParser.scala | ||
| DependencyBuilders.scala | ||
| DependencyFilter.scala | ||
| Ivy.scala | ||
| IvyActions.scala | ||
| IvyCache.scala | ||
| IvyConfigurations.scala | ||
| IvyInterface.scala | ||
| IvyLogger.scala | ||
| IvyRetrieve.scala | ||
| IvyScala.scala | ||
| MakePom.scala | ||
| NOTICE | ||
| ProjectResolver.scala | ||
| StringUtilities.scala | ||
| UpdateReport.scala | ||