config.gradle 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // Config Module build file
  2. apply plugin: 'groovy'
  3. compileTestJava.dependsOn(':spring-security-core:compileTestJava')
  4. dependencies {
  5. compile project(':spring-security-core'),
  6. project(':spring-security-web'),
  7. "org.aspectj:aspectjweaver:$aspectjVersion",
  8. 'aopalliance:aopalliance:1.0',
  9. "org.springframework:spring-aop:$springVersion",
  10. "org.springframework:spring-context:$springVersion",
  11. "org.springframework:spring-web:$springVersion",
  12. "org.springframework:spring-beans:$springVersion"
  13. provided "javax.servlet:servlet-api:2.5"
  14. groovy group: 'org.codehaus.groovy', name: 'groovy', version: '1.7.3'
  15. testCompile project(':spring-security-ldap'),
  16. project(':spring-security-openid'),
  17. 'org.openid4java:openid4java-nodeps:0.9.5',
  18. project(':spring-security-core').sourceSets.test.classes,
  19. 'javax.annotation:jsr250-api:1.0',
  20. "org.springframework.ldap:spring-ldap-core:$springLdapVersion",
  21. "org.springframework:spring-jdbc:$springVersion",
  22. "org.springframework:spring-tx:$springVersion",
  23. 'org.spockframework:spock-core:0.4-groovy-1.7',
  24. "org.slf4j:jcl-over-slf4j:$slf4jVersion"
  25. testRuntime "hsqldb:hsqldb:$hsqlVersion",
  26. "cglib:cglib-nodep:2.2"
  27. }
  28. task ldapTests(type: Test) {
  29. include ("**/ldap/**")
  30. maxParallelForks = 1
  31. // GRADLE-1090
  32. testClassesDir = sourceSets.test.classesDir
  33. classpath = sourceSets.test.runtimeClasspath
  34. testReport = false
  35. }
  36. test {
  37. dependsOn ldapTests
  38. exclude ("**/ldap/**")
  39. }