spring-security-config.gradle 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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-saml2-service-provider')
  13. optional project(':spring-security-oauth2-client')
  14. optional project(':spring-security-oauth2-jose')
  15. optional project(':spring-security-oauth2-resource-server')
  16. optional project(':spring-security-openid')
  17. optional project(':spring-security-rsocket')
  18. optional project(':spring-security-web')
  19. optional 'io.projectreactor:reactor-core'
  20. optional 'org.aspectj:aspectjweaver'
  21. optional 'org.springframework:spring-jdbc'
  22. optional 'org.springframework:spring-messaging'
  23. optional 'org.springframework:spring-tx'
  24. optional 'org.springframework:spring-webmvc'
  25. optional'org.springframework:spring-web'
  26. optional'org.springframework:spring-webflux'
  27. optional'org.springframework:spring-websocket'
  28. provided 'javax.servlet:javax.servlet-api'
  29. testCompile project(':spring-security-aspects')
  30. testCompile project(':spring-security-cas')
  31. testCompile project(':spring-security-test')
  32. testCompile project(path : ':spring-security-core', configuration : 'tests')
  33. testCompile project(path : ':spring-security-oauth2-client', configuration : 'tests')
  34. testCompile project(path : ':spring-security-web', configuration : 'tests')
  35. testCompile apachedsDependencies
  36. testCompile powerMock2Dependencies
  37. testCompile spockDependencies
  38. testCompile 'com.squareup.okhttp3:mockwebserver'
  39. testCompile 'ch.qos.logback:logback-classic'
  40. testCompile 'io.projectreactor.netty:reactor-netty'
  41. testCompile 'io.rsocket:rsocket-transport-netty'
  42. testCompile 'javax.annotation:jsr250-api:1.0'
  43. testCompile 'javax.xml.bind:jaxb-api'
  44. testCompile 'ldapsdk:ldapsdk:4.1'
  45. testCompile('net.sourceforge.htmlunit:htmlunit') {
  46. exclude group: 'commons-logging', module: 'commons-logging'
  47. }
  48. testCompile 'org.codehaus.groovy:groovy-all'
  49. testCompile 'org.eclipse.persistence:javax.persistence'
  50. testCompile 'org.hibernate:hibernate-entitymanager'
  51. testCompile 'org.hsqldb:hsqldb'
  52. testCompile ('org.openid4java:openid4java-nodeps') {
  53. exclude group: 'com.google.code.guice', module: 'guice'
  54. }
  55. testCompile('org.seleniumhq.selenium:htmlunit-driver') {
  56. exclude group: 'commons-logging', module: 'commons-logging'
  57. }
  58. testCompile('org.seleniumhq.selenium:selenium-java') {
  59. exclude group: 'commons-logging', module: 'commons-logging'
  60. exclude group: 'io.netty', module: 'netty'
  61. }
  62. testCompile 'org.slf4j:jcl-over-slf4j'
  63. testCompile 'org.springframework.ldap:spring-ldap-core'
  64. testCompile 'org.springframework:spring-expression'
  65. testCompile 'org.springframework:spring-jdbc'
  66. testCompile 'org.springframework:spring-orm'
  67. testCompile 'org.springframework:spring-tx'
  68. testCompile ('org.springframework.data:spring-data-jpa') {
  69. exclude group: 'org.aspectj', module: 'aspectjrt'
  70. }
  71. testRuntime 'cglib:cglib-nodep'
  72. testRuntime 'org.hsqldb:hsqldb'
  73. }
  74. rncToXsd {
  75. rncDir = file('src/main/resources/org/springframework/security/config/')
  76. xsdDir = rncDir
  77. xslFile = new File(rncDir, 'spring-security.xsl')
  78. }
  79. build.dependsOn rncToXsd