spring-security-config.gradle 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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-openid')
  15. optional project(':spring-security-web')
  16. optional 'org.aspectj:aspectjweaver'
  17. optional 'org.springframework:spring-jdbc'
  18. optional 'org.springframework:spring-tx'
  19. optional 'org.springframework:spring-webmvc'
  20. optional'org.springframework:spring-web'
  21. optional'org.springframework:spring-websocket'
  22. provided 'javax.servlet:javax.servlet-api'
  23. testCompile project(':spring-security-aspects')
  24. testCompile project(':spring-security-cas')
  25. testCompile project(path : ':spring-security-core', configuration : 'tests')
  26. testCompile apachedsDependencies
  27. testCompile powerMockDependencies
  28. testCompile spockDependencies
  29. testCompile 'javax.annotation:jsr250-api:1.0'
  30. testCompile 'ldapsdk:ldapsdk:4.1'
  31. testCompile 'org.codehaus.groovy:groovy-all'
  32. testCompile 'org.eclipse.persistence:javax.persistence'
  33. testCompile 'org.hibernate:hibernate-entitymanager'
  34. testCompile 'org.hsqldb:hsqldb'
  35. testCompile ('org.openid4java:openid4java-nodeps') {
  36. exclude group: 'com.google.code.guice', module: 'guice'
  37. }
  38. testCompile 'org.slf4j:jcl-over-slf4j'
  39. testCompile 'org.springframework.ldap:spring-ldap-core'
  40. testCompile 'org.springframework:spring-expression'
  41. testCompile 'org.springframework:spring-jdbc'
  42. testCompile 'org.springframework:spring-orm'
  43. testCompile 'org.springframework:spring-tx'
  44. testCompile ('org.springframework.data:spring-data-jpa') {
  45. exclude group: 'org.aspectj', module: 'aspectjrt'
  46. }
  47. testRuntime 'cglib:cglib-nodep'
  48. testRuntime 'org.hsqldb:hsqldb'
  49. }
  50. test {
  51. inputs.file file("$rootDir/docs/manual/src/docbook/appendix-namespace.xml")
  52. }
  53. rncToXsd {
  54. rncDir = file('src/main/resources/org/springframework/security/config/')
  55. xsdDir = rncDir
  56. xslFile = new File(rncDir, 'spring-security.xsl')
  57. }
  58. build.dependsOn rncToXsd