Explorar el Código

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

This reverts commit c9bf98c8872c5baa82f0142e1c25ce7fe1a7112d.
Rob Winch hace 4 años
padre
commit
d8e4f6c866

+ 4 - 0
buildSrc/src/main/groovy/io/spring/gradle/convention/ManagementConfigurationPlugin.java

@@ -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);
+			}));
 		});
 	}
 }