config.gradle 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // Config Module build file
  2. apply plugin: 'groovy'
  3. compileTestJava.dependsOn(':spring-security-core:compileTestJava')
  4. task writeNewPom << {
  5. pom {
  6. project {
  7. inceptionYear '2008'
  8. licenses {
  9. license {
  10. name 'The Apache Software License, Version 2.0'
  11. url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
  12. distribution 'repo'
  13. }
  14. }
  15. }
  16. }.writeTo("$buildDir/newpom.xml")
  17. }
  18. configurations {
  19. // GRADLE-1124
  20. compile.extendsFrom = []
  21. testCompile.extendsFrom groovy
  22. }
  23. dependencies {
  24. // NB: Don't add other compile time dependencies to the config module as this breaks tooling
  25. compile project(':spring-security-core'),
  26. project(':spring-security-web'),
  27. "org.aspectj:aspectjweaver:$aspectjVersion",
  28. 'aopalliance:aopalliance:1.0',
  29. "org.springframework:spring-aop:$springVersion",
  30. "org.springframework:spring-context:$springVersion",
  31. "org.springframework:spring-web:$springVersion",
  32. "org.springframework:spring-beans:$springVersion"
  33. provided "javax.servlet:servlet-api:2.5"
  34. groovy group: 'org.codehaus.groovy', name: 'groovy', version: '1.7.7'
  35. testCompile project(':spring-security-ldap'),
  36. project(':spring-security-openid'),
  37. project(':spring-security-core').sourceSets.test.classes,
  38. 'javax.annotation:jsr250-api:1.0',
  39. "org.springframework.ldap:spring-ldap-core:$springLdapVersion",
  40. "org.springframework:spring-jdbc:$springVersion",
  41. "org.springframework:spring-tx:$springVersion",
  42. 'org.spockframework:spock-core:0.5-groovy-1.7',
  43. "org.slf4j:jcl-over-slf4j:$slf4jVersion"
  44. testCompile('org.openid4java:openid4java-nodeps:0.9.6') {
  45. exclude group: 'com.google.code.guice', module: 'guice'
  46. }
  47. testRuntime "hsqldb:hsqldb:$hsqlVersion",
  48. "cglib:cglib-nodep:2.2"
  49. }
  50. integrationTest {
  51. systemProperties['apacheDSWorkDir'] = "${buildDir}/apacheDSWork"
  52. }