|
@@ -1,9 +1,5 @@
|
|
apply plugin: 'io.spring.convention.spring-module'
|
|
apply plugin: 'io.spring.convention.spring-module'
|
|
|
|
|
|
-configurations {
|
|
|
|
- unboundid7 { extendsFrom(optional, tests) }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
dependencies {
|
|
dependencies {
|
|
management platform(project(":spring-security-dependencies"))
|
|
management platform(project(":spring-security-dependencies"))
|
|
api project(':spring-security-core')
|
|
api project(':spring-security-core')
|
|
@@ -34,8 +30,6 @@ dependencies {
|
|
testImplementation "org.springframework:spring-test"
|
|
testImplementation "org.springframework:spring-test"
|
|
testImplementation 'org.skyscreamer:jsonassert'
|
|
testImplementation 'org.skyscreamer:jsonassert'
|
|
|
|
|
|
- unboundid7 libs.com.unboundid.unboundid.ldapsdk7
|
|
|
|
-
|
|
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
}
|
|
|
|
|
|
@@ -43,12 +37,3 @@ integrationTest {
|
|
// exclude('**/OpenLDAPIntegrationTestSuite.class')
|
|
// exclude('**/OpenLDAPIntegrationTestSuite.class')
|
|
maxParallelForks = 1
|
|
maxParallelForks = 1
|
|
}
|
|
}
|
|
-
|
|
|
|
-tasks.register("unboundid7Test", Test) {
|
|
|
|
- useJUnitPlatform()
|
|
|
|
- classpath = sourceSets.test.output + sourceSets.main.output + configurations.unboundid7
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-tasks.named("check") {
|
|
|
|
- dependsOn unboundid7Test
|
|
|
|
-}
|
|
|