From 11df19406b996dc0152a84f74dbb7304183e7c2b Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Fri, 14 Jan 2022 16:35:45 -0600 Subject: [PATCH] Remove javax.inject Issue gh-10501 --- config/spring-security-config.gradle | 1 + openid/spring-security-openid.gradle | 1 + 2 files changed, 2 insertions(+) diff --git a/config/spring-security-config.gradle b/config/spring-security-config.gradle index 1446895775..be2ef37316 100644 --- a/config/spring-security-config.gradle +++ b/config/spring-security-config.gradle @@ -50,6 +50,7 @@ dependencies { testImplementation project(path : ':spring-security-saml2-service-provider', configuration : 'tests') testImplementation project(path : ':spring-security-saml2-service-provider', configuration : 'opensaml4MainImplementation') testImplementation project(path : ':spring-security-web', configuration : 'tests') + testImplementation "jakarta.inject:jakarta.inject-api" testImplementation "org.assertj:assertj-core" testImplementation "org.junit.jupiter:junit-jupiter-api" testImplementation "org.junit.jupiter:junit-jupiter-params" diff --git a/openid/spring-security-openid.gradle b/openid/spring-security-openid.gradle index e8966b154b..0fd20f053d 100644 --- a/openid/spring-security-openid.gradle +++ b/openid/spring-security-openid.gradle @@ -10,6 +10,7 @@ dependencies { api project(':spring-security-web') api('com.google.inject:guice') { exclude group: 'aopalliance', module: 'aopalliance' + exclude group: 'javax.inject', module: 'javax.inject' } // openid4java has a compile time dep on guice with a group // name which is different from the maven central one.