mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 18:14:04 +02:00
convenience method on UpdateReport for extracting contents as sequence of tuples
This commit is contained in:
@@ -115,5 +115,9 @@ object UpdateReport
|
||||
}
|
||||
new UpdateReport(report.cachedDescriptor, newConfigurations)
|
||||
}
|
||||
|
||||
def toSeq: Seq[(String, ModuleID, Artifact, File)] =
|
||||
for(confReport <- report.configurations; modReport <- confReport.modules; (artifact, file) <- modReport.artifacts) yield
|
||||
(confReport.configuration, modReport.module, artifact, file)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user