config.gradle 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // Config Module build file
  2. apply plugin: 'groovy'
  3. apply plugin: 'trang'
  4. compileTestJava.dependsOn(':spring-security-core:compileTestJava')
  5. dependencies {
  6. // NB: Don't add other compile time dependencies to the config module as this breaks tooling
  7. compile project(':spring-security-core'),
  8. project(':spring-security-web'),
  9. project(':spring-security-openid'),
  10. project(':spring-security-ldap'),
  11. "org.aspectj:aspectjweaver:$aspectjVersion",
  12. 'aopalliance:aopalliance:1.0',
  13. "org.springframework:spring-aop:$springVersion",
  14. "org.springframework:spring-context:$springVersion",
  15. "org.springframework:spring-web:$springVersion",
  16. "org.springframework:spring-beans:$springVersion",
  17. "org.springframework:spring-jdbc:$springVersion",
  18. "org.springframework:spring-tx:$springVersion",
  19. "org.springframework.ldap:spring-ldap-core:$springLdapVersion"
  20. compile('org.openid4java:openid4java-nodeps:0.9.6') {
  21. exclude group: 'com.google.code.guice', module: 'guice'
  22. }
  23. compile 'com.google.inject:guice:2.0'
  24. compile apacheds_libs
  25. provided "org.apache.tomcat:tomcat-servlet-api:$servletApiVersion"
  26. testCompile project(':spring-security-ldap'),
  27. project(':spring-security-openid'),
  28. project(':spring-security-cas'),
  29. project(':spring-security-core').sourceSets.test.output,
  30. 'javax.annotation:jsr250-api:1.0',
  31. "org.springframework.ldap:spring-ldap-core:$springLdapVersion",
  32. "org.springframework:spring-expression:$springVersion",
  33. "org.springframework:spring-jdbc:$springVersion",
  34. "org.springframework:spring-orm:$springVersion",
  35. "org.springframework:spring-tx:$springVersion",
  36. 'org.spockframework:spock-core:0.6-groovy-1.8',
  37. "org.slf4j:jcl-over-slf4j:$slf4jVersion",
  38. "org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final",
  39. "org.hibernate:hibernate-entitymanager:4.1.0.Final",
  40. powerMockDependencies,
  41. 'org.codehaus.groovy:groovy:1.8.7'
  42. testCompile('org.openid4java:openid4java-nodeps:0.9.6') {
  43. exclude group: 'com.google.code.guice', module: 'guice'
  44. }
  45. testRuntime "hsqldb:hsqldb:$hsqlVersion",
  46. "cglib:cglib-nodep:2.2"
  47. }
  48. test {
  49. inputs.file file("$rootDir/docs/manual/src/docbook/appendix-namespace.xml")
  50. }
  51. integrationTest {
  52. systemProperties['apacheDSWorkDir'] = "${buildDir}/apacheDSWork"
  53. }
  54. rncToXsd {
  55. rncDir = file('src/main/resources/org/springframework/security/config/')
  56. xsdDir = rncDir
  57. xslFile = new File(rncDir, 'spring-security.xsl')
  58. }
  59. build.dependsOn rncToXsd