Revert "Avoid dependency on Kotlin when depending on spring-security-config"

Closes gh-26728
pull/27157/head
Stephane Nicoll 3 years ago
parent 5044137658
commit 8668e55631

@ -7,9 +7,7 @@ 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") {
exclude group: "org.jetbrains.kotlin", module: "kotlin-stdlib-jdk8"
}
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"

@ -6,9 +6,7 @@ description = "Starter for using Spring Security's OAuth2 resource server featur
dependencies {
api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
api("org.springframework.security:spring-security-config") {
exclude group: "org.jetbrains.kotlin", module: "kotlin-stdlib-jdk8"
}
api("org.springframework.security:spring-security-config")
api("org.springframework.security:spring-security-core")
api("org.springframework.security:spring-security-oauth2-resource-server")
api("org.springframework.security:spring-security-oauth2-jose")

@ -7,8 +7,6 @@ description = "Starter for using Spring Security"
dependencies {
api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
api("org.springframework:spring-aop")
api("org.springframework.security:spring-security-config") {
exclude group: "org.jetbrains.kotlin", module: "kotlin-stdlib-jdk8"
}
api("org.springframework.security:spring-security-config")
api("org.springframework.security:spring-security-web")
}

Loading…
Cancel
Save