spring-boot-cloudfoundry has an implementation dependency on spring-boot-security:
|
implementation(project(":module:spring-boot-security")) |
This causes Spring Security to be configured in applications otherwise not using it. Should spring-boot-security be an optional dependency instead?
excluding spring-boot-security from spring-boot-cloudfoundry seems to function as expected.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cloudfoundry</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-security</artifactId>
</exclusion>
</exclusions>
</dependency>
spring-boot-cloudfoundryhas animplementationdependency onspring-boot-security:spring-boot/module/spring-boot-cloudfoundry/build.gradle
Line 31 in b2bc463
This causes Spring Security to be configured in applications otherwise not using it. Should
spring-boot-securitybe an optional dependency instead?excluding
spring-boot-securityfromspring-boot-cloudfoundryseems to function as expected.