From d8e4f6c8666a74c76fcb848f4b5ecbc2d71b40b1 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 17 May 2021 22:17:50 -0500 Subject: [PATCH] Revert "Management no longer operates on optional/provided to spring-security-dependencies added as bom to poms" This reverts commit c9bf98c8872c5baa82f0142e1c25ce7fe1a7112d. --- .../gradle/convention/ManagementConfigurationPlugin.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildSrc/src/main/groovy/io/spring/gradle/convention/ManagementConfigurationPlugin.java b/buildSrc/src/main/groovy/io/spring/gradle/convention/ManagementConfigurationPlugin.java index d441f97d2f..7768729732 100644 --- a/buildSrc/src/main/groovy/io/spring/gradle/convention/ManagementConfigurationPlugin.java +++ b/buildSrc/src/main/groovy/io/spring/gradle/convention/ManagementConfigurationPlugin.java @@ -49,6 +49,10 @@ public class ManagementConfigurationPlugin implements Plugin { ); })); }); + plugins.withType(PropDepsPlugin.class, (propDepsPlugin -> { + configurations.getByName("optional").extendsFrom(management); + configurations.getByName("provided").extendsFrom(management); + })); }); } }