config.gradle 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. import javax.security.auth.login.ConfigurationSpi;
  2. // Config Module build file
  3. apply plugin: 'groovy'
  4. apply plugin: 'trang'
  5. compileTestJava.dependsOn(':spring-security-core:compileTestJava')
  6. dependencies {
  7. // NB: Don't add other compile time dependencies to the config module as this breaks tooling
  8. compile project(':spring-security-core'),
  9. 'aopalliance:aopalliance:1.0',
  10. "org.springframework:spring-aop:$springVersion",
  11. "org.springframework:spring-context:$springVersion",
  12. "org.springframework:spring-beans:$springVersion"
  13. optional project(':spring-security-web'),
  14. project(':spring-security-ldap'),
  15. project(':spring-security-openid'),
  16. "org.springframework:spring-web:$springVersion",
  17. "org.springframework:spring-webmvc:$springVersion",
  18. "org.aspectj:aspectjweaver:$aspectjVersion",
  19. "org.springframework:spring-jdbc:$springVersion",
  20. "org.springframework:spring-tx:$springVersion"
  21. provided "javax.servlet:javax.servlet-api:$servletApiVersion"
  22. testCompile project(':spring-security-cas'),
  23. project(':spring-security-core').sourceSets.test.output,
  24. 'javax.annotation:jsr250-api:1.0',
  25. "org.springframework.ldap:spring-ldap-core:$springLdapVersion",
  26. "org.springframework:spring-expression:$springVersion",
  27. "org.springframework:spring-jdbc:$springVersion",
  28. "org.springframework:spring-orm:$springVersion",
  29. "org.springframework:spring-tx:$springVersion",
  30. "org.slf4j:jcl-over-slf4j:$slf4jVersion",
  31. "org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final",
  32. "org.hibernate:hibernate-entitymanager:4.1.0.Final",
  33. "org.codehaus.groovy:groovy-all:$groovyVersion",
  34. "org.apache.directory.server:apacheds-core:$apacheDsVersion",
  35. "org.apache.directory.server:apacheds-core-entry:$apacheDsVersion",
  36. "org.apache.directory.server:apacheds-protocol-shared:$apacheDsVersion",
  37. "org.apache.directory.server:apacheds-protocol-ldap:$apacheDsVersion",
  38. "org.apache.directory.server:apacheds-server-jndi:$apacheDsVersion",
  39. 'org.apache.directory.shared:shared-ldap:0.9.15',
  40. 'ldapsdk:ldapsdk:4.1',
  41. powerMockDependencies,
  42. "org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.0.Final",
  43. "org.hibernate:hibernate-entitymanager:3.6.10.Final",
  44. "org.hsqldb:hsqldb:2.2.8",
  45. spockDependencies
  46. testCompile('org.openid4java:openid4java-nodeps:0.9.6') {
  47. exclude group: 'com.google.code.guice', module: 'guice'
  48. }
  49. testCompile('org.springframework.data:spring-data-jpa:1.4.1.RELEASE') {
  50. exclude group: 'org.aspectj', module: 'aspectjrt'
  51. }
  52. testRuntime "org.hsqldb:hsqldb:$hsqlVersion",
  53. "cglib:cglib-nodep:2.2"
  54. }
  55. test {
  56. inputs.file file("$rootDir/docs/manual/src/docbook/appendix-namespace.xml")
  57. }
  58. rncToXsd {
  59. rncDir = file('src/main/resources/org/springframework/security/config/')
  60. xsdDir = rncDir
  61. xslFile = new File(rncDir, 'spring-security.xsl')
  62. }
  63. build.dependsOn rncToXsd