Skip to content

Commit

Permalink
Fix CME, update dependencies (#927)
Browse files Browse the repository at this point in the history
* Fix CME, update dependencies

- See: #907

* PR Comments

* PR Comments 2
  • Loading branch information
elevenfive authored Jan 23, 2025
1 parent 3a57fd0 commit 8456e86
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ class DependencyUpdates
fun run(): DependencyUpdatesReporter {
val projectConfigs =
project.allprojects
.associateBy({ it }, { it.configurations.matching(filterConfigurations).toLinkedHashSet() })
.associateBy({ it }, { it.configurations.matching(filterConfigurations) })

val status: Set<DependencyStatus> = resolveProjects(projectConfigs, checkConstraints)

val buildscriptProjectConfigs =
project.allprojects
.associateBy({ it }, { it.buildscript.configurations.toLinkedHashSet() })
.associateBy({ it }, { it.buildscript.configurations })
val buildscriptStatus: Set<DependencyStatus> =
resolveProjects(
buildscriptProjectConfigs,
Expand Down Expand Up @@ -177,7 +177,3 @@ class DependencyUpdates
}
}
}

private fun <T> Collection<T>.toLinkedHashSet(): LinkedHashSet<T> {
return toCollection(LinkedHashSet(this.size))
}

0 comments on commit 8456e86

Please # to comment.