Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.Set;
import org.gradle.api.DefaultTask;
Expand Down Expand Up @@ -106,8 +107,9 @@ public void printResolvedDependencies() throws IOException {
+ "\"\nContinuing without cross-repository support.");
}

project
.getConfigurations()
// Iterate over a copy: resolving a configuration can add new ones (AGP 9
// does), which would otherwise throw ConcurrentModificationException.
new ArrayList<>(project.getConfigurations())
.forEach(
conf -> {
if (conf.isCanBeResolved()) {
Expand Down
Loading