spring-security-config.gradle 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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-oauth2-resource-server', configuration : 'tests')
  35. testCompile project(path : ':spring-security-web', configuration : 'tests')
  36. testCompile apachedsDependencies
  37. testCompile powerMock2Dependencies
  38. testCompile spockDependencies
  39. testCompile 'com.squareup.okhttp3:mockwebserver'
  40. testCompile 'ch.qos.logback:logback-classic'
  41. testCompile 'io.projectreactor.netty:reactor-netty'
  42. testCompile 'io.rsocket:rsocket-transport-netty'
  43. testCompile 'javax.annotation:jsr250-api:1.0'
  44. testCompile 'javax.xml.bind:jaxb-api'
  45. testCompile 'ldapsdk:ldapsdk:4.1'
  46. testCompile('net.sourceforge.htmlunit:htmlunit') {
  47. exclude group: 'commons-logging', module: 'commons-logging'
  48. }
  49. testCompile 'org.codehaus.groovy:groovy-all'
  50. testCompile 'org.eclipse.persistence:javax.persistence'
  51. testCompile 'org.hibernate:hibernate-entitymanager'
  52. testCompile 'org.hsqldb:hsqldb'
  53. testCompile ('org.openid4java:openid4java-nodeps') {
  54. exclude group: 'com.google.code.guice', module: 'guice'
  55. }
  56. testCompile('org.seleniumhq.selenium:htmlunit-driver') {
  57. exclude group: 'commons-logging', module: 'commons-logging'
  58. }
  59. testCompile('org.seleniumhq.selenium:selenium-java') {
  60. exclude group: 'commons-logging', module: 'commons-logging'
  61. exclude group: 'io.netty', module: 'netty'
  62. }
  63. testCompile 'org.slf4j:jcl-over-slf4j'
  64. testCompile 'org.springframework.ldap:spring-ldap-core'
  65. testCompile 'org.springframework:spring-expression'
  66. testCompile 'org.springframework:spring-jdbc'
  67. testCompile 'org.springframework:spring-orm'
  68. testCompile 'org.springframework:spring-tx'
  69. testCompile ('org.springframework.data:spring-data-jpa') {
  70. exclude group: 'org.aspectj', module: 'aspectjrt'
  71. }
  72. testRuntime 'cglib:cglib-nodep'
  73. testRuntime 'org.hsqldb:hsqldb'
  74. }
  75. rncToXsd {
  76. rncDir = file('src/main/resources/org/springframework/security/config/')
  77. xsdDir = rncDir
  78. xslFile = new File(rncDir, 'spring-security.xsl')
  79. }
  80. build.dependsOn rncToXsd