diff --git a/oauth2/oauth2-client/spring-security-oauth2-client.gradle b/oauth2/oauth2-client/spring-security-oauth2-client.gradle index bebf7a1469..ccb833e898 100644 --- a/oauth2/oauth2-client/spring-security-oauth2-client.gradle +++ b/oauth2/oauth2-client/spring-security-oauth2-client.gradle @@ -5,7 +5,6 @@ dependencies { compile project(':spring-security-oauth2-core') compile project(':spring-security-web') compile springCoreDependency - compile 'org.springframework:spring-web' compile 'com.nimbusds:oauth2-oidc-sdk' optional project(':spring-security-jwt-jose') diff --git a/oauth2/oauth2-core/spring-security-oauth2-core.gradle b/oauth2/oauth2-core/spring-security-oauth2-core.gradle index 83ea464e63..903859942a 100644 --- a/oauth2/oauth2-core/spring-security-oauth2-core.gradle +++ b/oauth2/oauth2-core/spring-security-oauth2-core.gradle @@ -3,7 +3,4 @@ apply plugin: 'io.spring.convention.spring-module' dependencies { compile project(':spring-security-core') compile springCoreDependency - compile 'org.springframework:spring-web' - - provided 'javax.servlet:javax.servlet-api' }