28 lines
617 B
Groovy
28 lines
617 B
Groovy
// LDAP sample build file
|
|
|
|
apply plugin: 'war'
|
|
apply plugin: 'jetty'
|
|
|
|
def excludeModules = ['spring-security-acl', 'jsr250-api', 'ehcache', 'spring-jdbc', 'ldapsdk']
|
|
|
|
configurations {
|
|
excludeModules.each {name ->
|
|
runtime.exclude module: name
|
|
}
|
|
|
|
runtime.exclude group: 'org.aspectj'
|
|
}
|
|
|
|
dependencies {
|
|
|
|
runtime project(':spring-security-web'),
|
|
project(':spring-security-config'),
|
|
project(':spring-security-ldap'),
|
|
"org.slf4j:jcl-over-slf4j:$slf4jVersion",
|
|
"ch.qos.logback:logback-classic:$logbackVersion"
|
|
}
|
|
|
|
jettyRun {
|
|
contextPath = "/ldap"
|
|
}
|