Remove unnecessary mail dependency from oauth2-client starter

See gh-28308
2.4.x
Martin Vietz 3 years ago committed by Andy Wilkinson
parent 9f13941c2f
commit a10db66b16

@ -6,11 +6,8 @@ description = "Starter for using Spring Security's OAuth2/OpenID Connect client
dependencies {
api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
api("com.sun.mail:jakarta.mail")
api("org.springframework.security:spring-security-config")
api("org.springframework.security:spring-security-core")
api("org.springframework.security:spring-security-oauth2-client") {
exclude group: "com.sun.mail", module: "javax.mail"
}
api("org.springframework.security:spring-security-oauth2-client")
api("org.springframework.security:spring-security-oauth2-jose")
}

Loading…
Cancel
Save