2
0

ldap.gradle 617 B

123456789101112131415161718192021222324252627
  1. // LDAP sample build file
  2. apply plugin: 'war'
  3. apply plugin: 'jetty'
  4. def excludeModules = ['spring-security-acl', 'jsr250-api', 'ehcache', 'spring-jdbc', 'ldapsdk']
  5. configurations {
  6. excludeModules.each {name ->
  7. runtime.exclude module: name
  8. }
  9. runtime.exclude group: 'org.aspectj'
  10. }
  11. dependencies {
  12. runtime project(':spring-security-web'),
  13. project(':spring-security-config'),
  14. project(':spring-security-ldap'),
  15. "org.slf4j:jcl-over-slf4j:$slf4jVersion",
  16. "ch.qos.logback:logback-classic:$logbackVersion"
  17. }
  18. jettyRun {
  19. contextPath = "/ldap"
  20. }