Skip to content

Commit

Permalink
Fix ConcurrentModificationException (fixes #578)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Jan 5, 2022
1 parent 72dfb76 commit 8311e68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repositories {
}

group = 'com.github.ben-manes'
version = '0.40.0'
version = '0.41.0'

sourceCompatibility = JavaVersion.VERSION_1_8

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ class DependencyUpdates {
*/
DependencyUpdatesReporter run() {
Map<Project, Set<Configuration>> projectConfigs = project.allprojects
.collectEntries { proj -> [proj, proj.configurations ] }
.collectEntries { proj -> [proj, new LinkedHashSet<>(proj.configurations) ] }
Set<DependencyStatus> status = resolveProjects(projectConfigs, checkConstraints)

Map<Project, Set<Configuration>> buildscriptProjectConfigs = project.allprojects
.collectEntries { proj -> [proj, proj.buildscript.configurations ] }
.collectEntries { proj -> [proj, new LinkedHashSet<>(proj.buildscript.configurations) ] }
Set<DependencyStatus> buildscriptStatus = resolveProjects(
buildscriptProjectConfigs, checkBuildEnvironmentConstraints)

Expand Down

0 comments on commit 8311e68

Please sign in to comment.