mirror of https://github.com/sbt/sbt.git
exclude should apply to any artifact type, not just jars. fixes #436
This commit is contained in:
parent
8af21f72fe
commit
9fe72a546e
|
|
@ -95,7 +95,7 @@ private object IvyScala
|
|||
* the given configurations. */
|
||||
private[sbt] def excludeRule(organization: String, name: String, configurationNames: Iterable[String]): ExcludeRule =
|
||||
{
|
||||
val artifact = new ArtifactId(ModuleId.newInstance(organization, name), "*", "jar", "*")
|
||||
val artifact = new ArtifactId(ModuleId.newInstance(organization, name), "*", "*", "*")
|
||||
val rule = new DefaultExcludeRule(artifact, ExactPatternMatcher.INSTANCE, emptyMap[AnyRef,AnyRef])
|
||||
configurationNames.foreach(rule.addConfiguration)
|
||||
rule
|
||||
|
|
|
|||
Loading…
Reference in New Issue