spring-security-config.gradle 3.0 KB

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