File tree 1 file changed +2
-6
lines changed
gradle-versions-plugin/src/main/kotlin/com/github/benmanes/gradle/versions/updates
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,13 @@ class DependencyUpdates
41
41
fun run (): DependencyUpdatesReporter {
42
42
val projectConfigs =
43
43
project.allprojects
44
- .associateBy({ it }, { it.configurations.matching(filterConfigurations).toLinkedHashSet() })
44
+ .associateBy({ it }, { it.configurations.matching(filterConfigurations) })
45
45
46
46
val status: Set <DependencyStatus > = resolveProjects(projectConfigs, checkConstraints)
47
47
48
48
val buildscriptProjectConfigs =
49
49
project.allprojects
50
- .associateBy({ it }, { it.buildscript.configurations.toLinkedHashSet() })
50
+ .associateBy({ it }, { it.buildscript.configurations })
51
51
val buildscriptStatus: Set <DependencyStatus > =
52
52
resolveProjects(
53
53
buildscriptProjectConfigs,
@@ -177,7 +177,3 @@ class DependencyUpdates
177
177
}
178
178
}
179
179
}
180
-
181
- private fun <T > Collection<T>.toLinkedHashSet (): LinkedHashSet <T > {
182
- return toCollection(LinkedHashSet (this .size))
183
- }
You can’t perform that action at this time.
0 commit comments