mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 17:22:13 +00:00
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:
parent
0158d2023e
commit
5b74484d3d
@ -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
0
whynowork/build.gradle
Normal file
Loading…
x
Reference in New Issue
Block a user