config.gradle 2.3 KB

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