We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e502604 commit b08734aCopy full SHA for b08734a
core/src/main/scala/sbt/librarymanagement/UpdateReportExtra.scala
@@ -142,8 +142,10 @@ private[librarymanagement] abstract class UpdateReportExtra {
142
}
143
144
145
- def allModuleReports: Vector[ModuleReport] = {
146
- configurations.flatMap(_.modules).groupBy(mR => moduleKey(mR.module)).toVector map {
+ def allModuleReports: Vector[ModuleReport] = allModuleReports(_ => true)
+
147
+ def allModuleReports(filterConfigurations: ConfigurationReport => Boolean): Vector[ModuleReport] = {
148
+ configurations.filter(filterConfigurations).flatMap(_.modules).groupBy(mR => moduleKey(mR.module)).toVector map {
149
case (_, v) =>
150
v reduceLeft { (agg, x) =>
151
agg.withConfigurations(
0 commit comments