mirror of https://github.com/sbt/sbt.git
Fix BaseIvySpeficiation's init of UpdateConfiguration with a sensible default ArtifactTypeFilter
This commit is contained in:
parent
dc81a1813d
commit
31440bb147
|
|
@ -61,7 +61,7 @@ trait BaseIvySpecification extends UnitSpec {
|
|||
def ivyUpdateEither(module: IvySbt#Module): Either[UnresolvedWarning, UpdateReport] = {
|
||||
// IO.delete(currentTarget)
|
||||
val retrieveConfig = new RetrieveConfiguration(currentManaged, Resolver.defaultRetrievePattern, false)
|
||||
val config = new UpdateConfiguration(Some(retrieveConfig), false, UpdateLogging.Full)
|
||||
val config = new UpdateConfiguration(Some(retrieveConfig), false, UpdateLogging.Full, ArtifactTypeFilter.forbid(Set("src", "doc")))
|
||||
IvyActions.updateEither(module, config, UnresolvedWarningConfiguration(), LogicalClock.unknown, Some(currentDependency), log)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue