spring-security-config.gradle 3.2 KB

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