2009-12-04 16:33:17 -05:00
|
|
|
// Ldap build file
|
|
|
|
|
2010-07-12 07:30:21 -04:00
|
|
|
apacheds_libs = [
|
|
|
|
"org.apache.directory.server:apacheds-core:$apacheDsVersion",
|
|
|
|
"org.apache.directory.server:apacheds-core-entry:$apacheDsVersion",
|
|
|
|
"org.apache.directory.server:apacheds-protocol-shared:$apacheDsVersion",
|
|
|
|
"org.apache.directory.server:apacheds-protocol-ldap:$apacheDsVersion",
|
|
|
|
"org.apache.directory.server:apacheds-server-jndi:$apacheDsVersion",
|
|
|
|
'org.apache.directory.shared:shared-ldap:0.9.15'
|
|
|
|
]
|
|
|
|
|
2009-12-04 16:33:17 -05:00
|
|
|
dependencies {
|
2010-01-10 18:31:23 -05:00
|
|
|
compile project(':spring-security-core'),
|
2009-12-04 16:33:17 -05:00
|
|
|
"org.springframework:spring-beans:$springVersion",
|
|
|
|
"org.springframework:spring-context:$springVersion",
|
|
|
|
"org.springframework:spring-tx:$springVersion",
|
|
|
|
'ldapsdk:ldapsdk:4.1'
|
2010-07-12 07:30:21 -04:00
|
|
|
apacheds_libs.collect {
|
|
|
|
compile (it) {
|
|
|
|
exclude group: 'org.slf4j'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-03-07 16:58:25 -05:00
|
|
|
compile ("org.springframework.ldap:spring-ldap-core:$springLdapVersion") {
|
|
|
|
exclude(group: 'commons-logging', module: 'commons-logging')
|
|
|
|
exclude(group: 'org.springframework', module: 'spring-core')
|
|
|
|
exclude(group: 'org.springframework', module: 'spring-tx')
|
|
|
|
exclude(group: 'org.springframework', module: 'spring-beans')
|
|
|
|
}
|
2010-07-12 07:30:21 -04:00
|
|
|
}
|
2009-12-04 16:33:17 -05:00
|
|
|
|
2011-02-14 09:57:30 -05:00
|
|
|
integrationTest {
|
2011-02-11 12:55:16 -05:00
|
|
|
include('**/ApacheDSServerIntegrationTests.class')
|
|
|
|
// exclude('**/OpenLDAPIntegrationTestSuite.class')
|
|
|
|
maxParallelForks = 1
|
|
|
|
systemProperties['apacheDSWorkDir'] = "${buildDir}/apacheDSWork"
|
|
|
|
}
|
|
|
|
|
|
|
|
task(ldapServer, dependsOn: 'integrationTestClasses', type: JavaExec) {
|
|
|
|
classpath = sourceSets.integrationTest.runtimeClasspath
|
|
|
|
main = 'org.springframework.security.ldap.ApacheDSServerIntegrationTests'
|
|
|
|
systemProperties['apacheDSWorkDir'] = "${buildDir}/apacheDSWork"
|
|
|
|
}
|
|
|
|
|