spring-security-config.gradle 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. apply plugin: 'io.spring.convention.spring-module'
  2. apply plugin: 'trang'
  3. dependencies {
  4. // NB: Don't add other compile time dependencies to the config module as this breaks tooling
  5. compile project(':spring-security-core')
  6. compile 'aopalliance:aopalliance:1.0'
  7. compile 'org.springframework:spring-aop'
  8. compile 'org.springframework:spring-beans'
  9. compile 'org.springframework:spring-context'
  10. compile 'org.springframework:spring-core'
  11. optional project(':spring-security-ldap')
  12. optional project(':spring-security-messaging')
  13. optional project(':spring-security-oauth2-client')
  14. optional project(':spring-security-jwt-jose')
  15. optional project(':spring-security-openid')
  16. optional project(':spring-security-web')
  17. optional project(':spring-security-webflux')
  18. optional 'org.aspectj:aspectjweaver'
  19. optional 'org.springframework:spring-jdbc'
  20. optional 'org.springframework:spring-tx'
  21. optional 'org.springframework:spring-webmvc'
  22. optional'org.springframework:spring-web'
  23. optional'org.springframework:spring-websocket'
  24. provided 'javax.servlet:javax.servlet-api'
  25. testCompile project(':spring-security-aspects')
  26. testCompile project(':spring-security-cas')
  27. testCompile project(path : ':spring-security-core', configuration : 'tests')
  28. testCompile project(path : ':spring-security-webflux', configuration : 'tests')
  29. testCompile apachedsDependencies
  30. testCompile powerMockDependencies
  31. testCompile spockDependencies
  32. testCompile 'javax.annotation:jsr250-api:1.0'
  33. testCompile 'ldapsdk:ldapsdk:4.1'
  34. testCompile 'org.codehaus.groovy:groovy-all'
  35. testCompile 'org.eclipse.persistence:javax.persistence'
  36. testCompile 'org.hibernate:hibernate-entitymanager'
  37. testCompile 'org.hsqldb:hsqldb'
  38. testCompile ('org.openid4java:openid4java-nodeps') {
  39. exclude group: 'com.google.code.guice', module: 'guice'
  40. }
  41. testCompile 'org.slf4j:jcl-over-slf4j'
  42. testCompile 'org.springframework.ldap:spring-ldap-core'
  43. testCompile 'org.springframework:spring-expression'
  44. testCompile 'org.springframework:spring-jdbc'
  45. testCompile 'org.springframework:spring-orm'
  46. testCompile 'org.springframework:spring-tx'
  47. testCompile ('org.springframework.data:spring-data-jpa') {
  48. exclude group: 'org.aspectj', module: 'aspectjrt'
  49. }
  50. testRuntime 'cglib:cglib-nodep'
  51. testRuntime 'org.hsqldb:hsqldb'
  52. }
  53. test {
  54. inputs.file file("$rootDir/docs/manual/src/docbook/appendix-namespace.xml")
  55. }
  56. rncToXsd {
  57. rncDir = file('src/main/resources/org/springframework/security/config/')
  58. xsdDir = rncDir
  59. xslFile = new File(rncDir, 'spring-security.xsl')
  60. }
  61. build.dependsOn rncToXsd