diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-client/build.gradle b/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-client/build.gradle index d93ec0437b..3df25780ed 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-client/build.gradle +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-client/build.gradle @@ -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" diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-resource-server/build.gradle b/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-resource-server/build.gradle index 3781f9722c..a91da01d8d 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-resource-server/build.gradle +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-resource-server/build.gradle @@ -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") diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-security/build.gradle b/spring-boot-project/spring-boot-starters/spring-boot-starter-security/build.gradle index 462af40367..c6e63f44ef 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-security/build.gradle +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-security/build.gradle @@ -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") }