config.gradle 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. project(':spring-security-openid'),
  15. project(':spring-security-ldap'),
  16. "org.aspectj:aspectjweaver:$aspectjVersion",
  17. 'aopalliance:aopalliance:1.0',
  18. "org.springframework:spring-aop:$springVersion",
  19. "org.springframework:spring-context:$springVersion",
  20. "org.springframework:spring-web:$springVersion",
  21. "org.springframework:spring-beans:$springVersion",
  22. "org.springframework:spring-jdbc:$springVersion",
  23. "org.springframework:spring-tx:$springVersion",
  24. "org.springframework.ldap:spring-ldap-core:$springLdapVersion"
  25. compile('org.openid4java:openid4java-nodeps:0.9.6') {
  26. exclude group: 'com.google.code.guice', module: 'guice'
  27. }
  28. compile 'com.google.inject:guice:2.0'
  29. compile apacheds_libs
  30. provided "org.apache.tomcat:tomcat-servlet-api:$servletApiVersion"
  31. groovy 'org.codehaus.groovy:groovy:1.8.7'
  32. testCompile project(':spring-security-ldap'),
  33. project(':spring-security-openid'),
  34. project(':spring-security-cas'),
  35. project(':spring-security-core').sourceSets.test.output,
  36. 'javax.annotation:jsr250-api:1.0',
  37. "org.springframework.ldap:spring-ldap-core:$springLdapVersion",
  38. "org.springframework:spring-expression:$springVersion",
  39. "org.springframework:spring-jdbc:$springVersion",
  40. "org.springframework:spring-orm:$springVersion",
  41. "org.springframework:spring-tx:$springVersion",
  42. 'org.spockframework:spock-core:0.6-groovy-1.8',
  43. "org.slf4j:jcl-over-slf4j:$slf4jVersion",
  44. "org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final",
  45. "org.hibernate:hibernate-entitymanager:4.1.0.Final",
  46. powerMockDependencies
  47. testCompile('org.openid4java:openid4java-nodeps:0.9.6') {
  48. exclude group: 'com.google.code.guice', module: 'guice'
  49. }
  50. testRuntime "hsqldb:hsqldb:$hsqlVersion",
  51. "cglib:cglib-nodep:2.2"
  52. }
  53. test {
  54. inputs.file file("$rootDir/docs/manual/src/docbook/appendix-namespace.xml")
  55. }
  56. integrationTest {
  57. systemProperties['apacheDSWorkDir'] = "${buildDir}/apacheDSWork"
  58. }
  59. rncToXsd {
  60. rncDir = file('src/main/resources/org/springframework/security/config/')
  61. xsdDir = rncDir
  62. xslFile = new File(rncDir, 'spring-security.xsl')
  63. }
  64. build.dependsOn rncToXsd