Remove javax.inject

Issue gh-10501
This commit is contained in:
Rob Winch 2022-01-14 16:35:45 -06:00
parent f8e14683f6
commit d8b406ab71
2 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,7 @@ dependencies {
api "io.mockk:mockk:1.12.2" api "io.mockk:mockk:1.12.2"
api "io.projectreactor.tools:blockhound:1.0.6.RELEASE" api "io.projectreactor.tools:blockhound:1.0.6.RELEASE"
api "javax.annotation:jsr250-api:1.0" api "javax.annotation:jsr250-api:1.0"
api "jakarta.inject:jakarta.inject-api:1.0.5"
api "javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:1.2.2" api "javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:1.2.2"
api "javax.servlet.jsp:javax.servlet.jsp-api:2.3.3" api "javax.servlet.jsp:javax.servlet.jsp-api:2.3.3"
api "javax.servlet:javax.servlet-api:4.0.1" api "javax.servlet:javax.servlet-api:4.0.1"

View File

@ -10,6 +10,7 @@ dependencies {
api project(':spring-security-web') api project(':spring-security-web')
api('com.google.inject:guice') { api('com.google.inject:guice') {
exclude group: 'aopalliance', module: 'aopalliance' exclude group: 'aopalliance', module: 'aopalliance'
exclude group: 'javax.inject', module: 'javax.inject'
} }
// openid4java has a compile time dep on guice with a group // openid4java has a compile time dep on guice with a group
// name which is different from the maven central one. // name which is different from the maven central one.
@ -31,6 +32,7 @@ dependencies {
exclude group: 'commons-logging', module: 'commons-logging' exclude group: 'commons-logging', module: 'commons-logging'
} }
testImplementation "jakarta.inject:jakarta.inject-api"
testImplementation "org.assertj:assertj-core" testImplementation "org.assertj:assertj-core"
testImplementation "org.junit.jupiter:junit-jupiter-api" testImplementation "org.junit.jupiter:junit-jupiter-api"
testImplementation "org.junit.jupiter:junit-jupiter-params" testImplementation "org.junit.jupiter:junit-jupiter-params"