Skip to content

Commit

Permalink
Use proper repositories for the enabled conditional dependency nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
aloubyansky committed Jun 26, 2021
1 parent aa4bef3 commit fbf177f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,8 @@ void activate() throws BootstrapDependencyProcessingException {
collectingTopRuntimeNodes = false;
final ExtensionDependency extDep = getExtensionDependency();
final DependencyNode originalNode = collectDependencies(info.runtimeArtifact, extDep.exclusions);
final DependencyNode rtNode = extDep.runtimeNode;
final DefaultDependencyNode rtNode = (DefaultDependencyNode) extDep.runtimeNode;
rtNode.setRepositories(originalNode.getRepositories());
// if this node has conditional dependencies on its own, they may have been activated by this time
// in which case they would be included into its children
List<DependencyNode> currentChildren = rtNode.getChildren();
Expand Down

0 comments on commit fbf177f

Please sign in to comment.