Add UnboundId Compatibility Check

Closes gh-15400
This commit is contained in:
Josh Cummings 2024-07-11 18:02:09 -06:00
parent 161b0f303d
commit e4e82d89d9
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
2 changed files with 16 additions and 0 deletions

View File

@ -25,6 +25,7 @@ com-nimbusds-oauth2-oidc-sdk = "com.nimbusds:oauth2-oidc-sdk:9.43.4"
com-squareup-okhttp3-mockwebserver = { module = "com.squareup.okhttp3:mockwebserver", version.ref = "com-squareup-okhttp3" }
com-squareup-okhttp3-okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "com-squareup-okhttp3" }
com-unboundid-unboundid-ldapsdk = "com.unboundid:unboundid-ldapsdk:6.0.11"
com-unboundid-unboundid-ldapsdk7 = "com.unboundid:unboundid-ldapsdk:7.0.1"
commons-collections = "commons-collections:commons-collections:3.2.2"
io-micrometer-micrometer-observation = "io.micrometer:micrometer-observation:1.12.8"
io-mockk = "io.mockk:mockk:1.13.11"

View File

@ -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
}