Add com.sun.jndi.ldap Module
- Needed for importing com.sun.jndi.ldap in tests
This commit is contained in:
@@ -13,3 +13,7 @@ dependencies {
|
||||
testImplementation "org.easymock:easymock"
|
||||
testImplementation "org.assertj:assertj-core"
|
||||
}
|
||||
|
||||
compileTestJava {
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
|
||||
@@ -44,3 +44,13 @@ dependencies {
|
||||
testImplementation "org.assertj:assertj-core"
|
||||
testImplementation "com.unboundid:unboundid-ldapsdk"
|
||||
}
|
||||
|
||||
compileTestJava {
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
doFirst {
|
||||
options.compilerArgs = [
|
||||
'--add-exports', 'java.naming/com.sun.jndi.ldap=ALL-UNNAMED'
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -17,3 +17,7 @@ dependencies {
|
||||
exclude group: 'com.sun.jmx'
|
||||
}
|
||||
}
|
||||
|
||||
compileTestJava {
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
@@ -36,4 +36,8 @@ dependencies {
|
||||
testImplementation "org.apache.directory.shared:shared-ldap"
|
||||
testImplementation platform('org.junit:junit-bom')
|
||||
testImplementation "org.junit.vintage:junit-vintage-engine"
|
||||
}
|
||||
|
||||
compileTestJava {
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
@@ -18,6 +18,10 @@ dependencies {
|
||||
testImplementation 'org.springframework.security:spring-security-test'
|
||||
}
|
||||
|
||||
compileTestJava {
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
|
||||
tasks.named('test') {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
@@ -24,3 +24,7 @@ dependencies {
|
||||
"junit:junit",
|
||||
"org.assertj:assertj-core"
|
||||
}
|
||||
|
||||
compileTestJava {
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
@@ -24,3 +24,7 @@ dependencies {
|
||||
"junit:junit",
|
||||
"org.assertj:assertj-core"
|
||||
}
|
||||
|
||||
compileTestJava {
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
|
||||
@@ -15,3 +15,12 @@ dependencies {
|
||||
testImplementation "gsbase:gsbase"
|
||||
testImplementation "org.assertj:assertj-core"
|
||||
}
|
||||
|
||||
compileTestJava {
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
doFirst {
|
||||
options.compilerArgs = [
|
||||
'--add-exports', 'java.naming/com.sun.jndi.ldap=ALL-UNNAMED'
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -29,3 +29,7 @@ dependencies {
|
||||
testImplementation "org.junit.vintage:junit-vintage-engine"
|
||||
testImplementation "org.assertj:assertj-core"
|
||||
}
|
||||
|
||||
compileTestJava {
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
@@ -83,6 +83,9 @@ idea {
|
||||
}
|
||||
}
|
||||
|
||||
compileTestJava {
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
|
||||
test {
|
||||
systemProperties = System.properties
|
||||
|
||||
Reference in New Issue
Block a user