Merge branch '6.0.x' into 6.1.x

This commit is contained in:
Marcus Hert Da Coregio 2023-10-30 11:25:46 -03:00
commit ee73f7d508
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class VerifyDependenciesVersionsPlugin implements Plugin<Project> {
private Map<String, List<Artifact>> getDependencies(List<Configuration> configurations) {
return configurations.stream().flatMap((configuration) -> {
return configuration.getResolvedConfiguration().getResolvedArtifacts().stream()
return configuration.getResolvedConfiguration().getLenientConfiguration().getArtifacts().stream()
.map((dep) -> {
ModuleVersionIdentifier id = dep.getModuleVersion().getId();
return new Artifact(id.getName(), id.getVersion(), configuration.toString());