spring-security-config.gradle 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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 'org.springframework:spring-aop'
  7. compile 'org.springframework:spring-beans'
  8. compile 'org.springframework:spring-context'
  9. compile 'org.springframework:spring-core'
  10. optional project(':spring-security-ldap')
  11. optional project(':spring-security-messaging')
  12. optional project(':spring-security-oauth2-client')
  13. optional project(':spring-security-jwt-jose')
  14. optional project(':spring-security-openid')
  15. optional project(':spring-security-web')
  16. optional project(':spring-security-webflux')
  17. optional 'org.aspectj:aspectjweaver'
  18. optional 'org.springframework:spring-jdbc'
  19. optional 'org.springframework:spring-tx'
  20. optional 'org.springframework:spring-webmvc'
  21. optional'org.springframework:spring-web'
  22. optional'org.springframework:spring-websocket'
  23. provided 'javax.servlet:javax.servlet-api'
  24. testCompile project(':spring-security-aspects')
  25. testCompile project(':spring-security-cas')
  26. testCompile project(path : ':spring-security-core', configuration : 'tests')
  27. testCompile project(path : ':spring-security-webflux', configuration : 'tests')
  28. testCompile apachedsDependencies
  29. testCompile powerMockDependencies
  30. testCompile spockDependencies
  31. testCompile 'ch.qos.logback:logback-classic'
  32. testCompile 'javax.annotation:jsr250-api:1.0'
  33. testCompile 'ldapsdk:ldapsdk:4.1'
  34. testCompile('net.sourceforge.htmlunit:htmlunit') {
  35. exclude group: 'commons-logging', module: 'commons-logging'
  36. }
  37. testCompile 'org.codehaus.groovy:groovy-all'
  38. testCompile 'org.eclipse.persistence:javax.persistence'
  39. testCompile 'org.hibernate:hibernate-entitymanager'
  40. testCompile 'org.hsqldb:hsqldb'
  41. testCompile ('org.openid4java:openid4java-nodeps') {
  42. exclude group: 'com.google.code.guice', module: 'guice'
  43. }
  44. testCompile('org.seleniumhq.selenium:htmlunit-driver') {
  45. exclude group: 'commons-logging', module: 'commons-logging'
  46. }
  47. testCompile('org.seleniumhq.selenium:selenium-java') {
  48. exclude group: 'commons-logging', module: 'commons-logging'
  49. exclude group: 'io.netty', module: 'netty'
  50. }
  51. testCompile 'org.slf4j:jcl-over-slf4j'
  52. testCompile 'org.springframework.ldap:spring-ldap-core'
  53. testCompile 'org.springframework:spring-expression'
  54. testCompile 'org.springframework:spring-jdbc'
  55. testCompile 'org.springframework:spring-orm'
  56. testCompile 'org.springframework:spring-tx'
  57. testCompile ('org.springframework.data:spring-data-jpa') {
  58. exclude group: 'org.aspectj', module: 'aspectjrt'
  59. }
  60. testRuntime 'cglib:cglib-nodep'
  61. testRuntime 'org.hsqldb:hsqldb'
  62. }
  63. test {
  64. inputs.file file("$rootDir/docs/manual/src/docbook/appendix-namespace.xml")
  65. }
  66. rncToXsd {
  67. rncDir = file('src/main/resources/org/springframework/security/config/')
  68. xsdDir = rncDir
  69. xslFile = new File(rncDir, 'spring-security.xsl')
  70. }
  71. build.dependsOn rncToXsd