spring-security-config.gradle 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. apply plugin: 'io.spring.convention.spring-module'
  2. apply plugin: 'trang'
  3. apply plugin: 'kotlin'
  4. dependencies {
  5. // NB: Don't add other compile time dependencies to the config module as this breaks tooling
  6. compile project(':spring-security-core')
  7. compile 'org.springframework:spring-aop'
  8. compile 'org.springframework:spring-beans'
  9. compile 'org.springframework:spring-context'
  10. compile 'org.springframework:spring-core'
  11. optional project(':spring-security-ldap')
  12. optional project(':spring-security-messaging')
  13. optional project(':spring-security-saml2-service-provider')
  14. optional project(':spring-security-oauth2-client')
  15. optional project(':spring-security-oauth2-jose')
  16. optional project(':spring-security-oauth2-resource-server')
  17. optional project(':spring-security-openid')
  18. optional project(':spring-security-rsocket')
  19. optional project(':spring-security-web')
  20. optional 'io.projectreactor:reactor-core'
  21. optional 'org.aspectj:aspectjweaver'
  22. optional 'org.springframework:spring-jdbc'
  23. optional 'org.springframework:spring-messaging'
  24. optional 'org.springframework:spring-tx'
  25. optional 'org.springframework:spring-webmvc'
  26. optional'org.springframework:spring-web'
  27. optional'org.springframework:spring-webflux'
  28. optional'org.springframework:spring-websocket'
  29. optional 'org.jetbrains.kotlin:kotlin-reflect'
  30. optional 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
  31. provided 'javax.servlet:javax.servlet-api'
  32. testCompile project(':spring-security-aspects')
  33. testCompile project(':spring-security-cas')
  34. testCompile project(':spring-security-test')
  35. testCompile project(path : ':spring-security-core', configuration : 'tests')
  36. testCompile project(path : ':spring-security-oauth2-client', configuration : 'tests')
  37. testCompile project(path : ':spring-security-oauth2-resource-server', configuration : 'tests')
  38. testCompile project(path : ':spring-security-web', configuration : 'tests')
  39. testCompile apachedsDependencies
  40. testCompile powerMock2Dependencies
  41. testCompile 'com.squareup.okhttp3:mockwebserver'
  42. testCompile 'ch.qos.logback:logback-classic'
  43. testCompile 'io.projectreactor.netty:reactor-netty'
  44. testCompile 'io.rsocket:rsocket-transport-netty'
  45. testCompile 'javax.annotation:jsr250-api:1.0'
  46. testCompile 'javax.xml.bind:jaxb-api'
  47. testCompile 'ldapsdk:ldapsdk:4.1'
  48. testCompile('net.sourceforge.htmlunit:htmlunit') {
  49. exclude group: 'commons-logging', module: 'commons-logging'
  50. }
  51. testCompile 'org.eclipse.persistence:javax.persistence'
  52. testCompile 'org.hibernate:hibernate-entitymanager'
  53. testCompile 'org.hsqldb:hsqldb'
  54. testCompile ('org.openid4java:openid4java-nodeps') {
  55. exclude group: 'com.google.code.guice', module: 'guice'
  56. }
  57. testCompile('org.seleniumhq.selenium:htmlunit-driver') {
  58. exclude group: 'commons-logging', module: 'commons-logging'
  59. }
  60. testCompile('org.seleniumhq.selenium:selenium-java') {
  61. exclude group: 'commons-logging', module: 'commons-logging'
  62. exclude group: 'io.netty', module: 'netty'
  63. }
  64. testCompile 'org.slf4j:jcl-over-slf4j'
  65. testCompile 'org.springframework.ldap:spring-ldap-core'
  66. testCompile 'org.springframework:spring-expression'
  67. testCompile 'org.springframework:spring-jdbc'
  68. testCompile 'org.springframework:spring-orm'
  69. testCompile 'org.springframework:spring-tx'
  70. testCompile ('org.springframework.data:spring-data-jpa') {
  71. exclude group: 'org.aspectj', module: 'aspectjrt'
  72. }
  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. compileKotlin {
  81. kotlinOptions {
  82. jvmTarget = "1.8"
  83. freeCompilerArgs = ["-Xjsr305=strict"]
  84. }
  85. }
  86. build.dependsOn rncToXsd