Merge branch '5.8.x' into 6.0.x

This commit is contained in:
Marcus Hert Da Coregio 2023-10-30 11:25:41 -03:00
commit b17c0a5c59
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());