spring-security-openid.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // NOTE: The OpenID 1.0 and 2.0 protocols have been deprecated and users are
  2. // <a href="https://openid.net/specs/openid-connect-migration-1_0.html">encouraged to migrate</a>
  3. // to <a href="https://openid.net/connect/">OpenID Connect</a>, which is supported by <code>spring-security-oauth2</code>.
  4. apply plugin: 'io.spring.convention.spring-module'
  5. dependencies {
  6. management platform(project(":spring-security-dependencies"))
  7. api project(':spring-security-core')
  8. api project(':spring-security-web')
  9. api('com.google.inject:guice') {
  10. exclude group: 'aopalliance', module: 'aopalliance'
  11. }
  12. // openid4java has a compile time dep on guice with a group
  13. // name which is different from the maven central one.
  14. // We use the maven central version here instead.
  15. api('org.openid4java:openid4java-nodeps') {
  16. exclude group: 'com.google.code.guice', module: 'guice'
  17. }
  18. api 'org.springframework:spring-aop'
  19. api 'org.springframework:spring-beans'
  20. api 'org.springframework:spring-context'
  21. api 'org.springframework:spring-core'
  22. api 'org.springframework:spring-web'
  23. provided 'javax.servlet:javax.servlet-api'
  24. runtimeOnly 'net.sourceforge.nekohtml:nekohtml'
  25. runtimeOnly 'org.apache.httpcomponents:httpclient'
  26. testImplementation "org.assertj:assertj-core"
  27. testImplementation "org.junit.jupiter:junit-jupiter-api"
  28. testImplementation "org.junit.jupiter:junit-jupiter-params"
  29. testImplementation "org.junit.jupiter:junit-jupiter-engine"
  30. testImplementation "org.mockito:mockito-core"
  31. testImplementation "org.mockito:mockito-junit-jupiter"
  32. testImplementation "org.springframework:spring-test"
  33. }