Revert "Management no longer operates on optional/provided to spring-security-dependencies added as bom to poms"

This reverts commit c9bf98c887.
This commit is contained in:
Rob Winch 2021-05-17 22:17:50 -05:00
parent c9bf98c887
commit d8e4f6c866
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ public class ManagementConfigurationPlugin implements Plugin<Project> {
);
}));
});
plugins.withType(PropDepsPlugin.class, (propDepsPlugin -> {
configurations.getByName("optional").extendsFrom(management);
configurations.getByName("provided").extendsFrom(management);
}));
});
}
}