Fix attempt to download an artifact several times in parallel

This commit is contained in:
Alexandre Archambault 2016-11-09 13:02:59 -08:00
parent e2a8836d25
commit 71b3acead3
No known key found for this signature in database
GPG Key ID: 14640A6839C263A9
1 changed files with 3 additions and 1 deletions

View File

@ -546,7 +546,9 @@ class Helper(
subset: Set[Dependency] = null
): Seq[File] = {
val artifacts0 = artifacts(sources, javadoc, artifactTypes, subset)
val artifacts0 = artifacts(sources, javadoc, artifactTypes, subset).map { artifact =>
artifact.copy(attributes = Attributes())
}.distinct
val logger =
if (verbosityLevel >= 0)