Add UnboundId Compatibility Check
Closes gh-15400
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
apply plugin: 'io.spring.convention.spring-module'
|
||||
|
||||
configurations {
|
||||
unboundid7 { extendsFrom(optional, tests) }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
management platform(project(":spring-security-dependencies"))
|
||||
api project(':spring-security-core')
|
||||
@@ -35,9 +39,20 @@ dependencies {
|
||||
testImplementation "org.mockito:mockito-junit-jupiter"
|
||||
testImplementation "org.springframework:spring-test"
|
||||
testImplementation 'org.skyscreamer:jsonassert'
|
||||
unboundid7 libs.com.unboundid.unboundid.ldapsdk7
|
||||
|
||||
}
|
||||
|
||||
integrationTest {
|
||||
// exclude('**/OpenLDAPIntegrationTestSuite.class')
|
||||
maxParallelForks = 1
|
||||
}
|
||||
|
||||
tasks.register("unboundid7Test", Test) {
|
||||
useJUnitPlatform()
|
||||
classpath = sourceSets.test.output + sourceSets.main.output + configurations.unboundid7
|
||||
}
|
||||
|
||||
tasks.named("check") {
|
||||
dependsOn unboundid7Test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user