Fix ManagementConfigurationPlugin Configurations

- remove COMPILE_CONFIGURATION_NAME
- remove TEST_COMPILE_CONFIGURATION_NAME

This is because otherwise spring-security-depencencies appears as
maven bom and it should be internal
This commit is contained in:
Rob Winch 2021-05-17 19:16:33 -05:00
parent 0158d2023e
commit 5b74484d3d
2 changed files with 0 additions and 2 deletions

View File

@ -33,10 +33,8 @@ public class ManagementConfigurationPlugin implements Plugin<Project> {
PluginContainer plugins = project.getPlugins();
plugins.withType(JavaPlugin.class, (javaPlugin) -> {
configurations.getByName(JavaPlugin.COMPILE_CLASSPATH_CONFIGURATION_NAME).extendsFrom(management);
configurations.getByName(JavaPlugin.COMPILE_CONFIGURATION_NAME).extendsFrom(management);
configurations.getByName(JavaPlugin.RUNTIME_CLASSPATH_CONFIGURATION_NAME).extendsFrom(management);
configurations.getByName(JavaPlugin.TEST_COMPILE_CLASSPATH_CONFIGURATION_NAME).extendsFrom(management);
configurations.getByName(JavaPlugin.TEST_COMPILE_CONFIGURATION_NAME).extendsFrom(management);
configurations.getByName(JavaPlugin.TEST_RUNTIME_CLASSPATH_CONFIGURATION_NAME).extendsFrom(management);
});
plugins.withType(JavaTestFixturesPlugin.class, (javaTestFixturesPlugin) -> {

0
whynowork/build.gradle Normal file
View File