Skip to content

Commit

Permalink
fix: solved concurrency issue when looping a map (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
37IulianPopovici authored Nov 29, 2023
1 parent f2ce62e commit e8885b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/init.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ allprojects { Project currProj ->
findMatchingConfigs(proj.configurations, confNameFilter, confAttrSpec)
.each { conf ->
def attrs = conf.attributes
attrs.keySet().each({ attr ->
attrs.keySet().toList().each({ attr ->
def value = attrs.getAttribute(attr)
if (!allConfigurationAttributes.containsKey(attr)) {
allConfigurationAttributes[attr] = new HashSet()
Expand Down

0 comments on commit e8885b6

Please sign in to comment.