Start building against Spring LDAP 2.3.4 snapshots

See gh-26393
This commit is contained in:
Stephane Nicoll 2021-05-10 09:04:17 +02:00
parent 0d920894b7
commit a5cb9540ca
2 changed files with 3 additions and 4 deletions

View File

@ -17,6 +17,7 @@
package org.springframework.boot.build.toolchain;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.gradle.api.Plugin;
@ -85,9 +86,7 @@ public class ToolchainPlugin implements Plugin<Project> {
private void configureTestToolchain(Project project, ToolchainExtension toolchain) {
project.getTasks().withType(Test.class, (test) -> {
// See https://github.com/spring-projects/spring-ldap/issues/570
List<String> arguments = Arrays.asList("--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED",
"--illegal-access=warn");
List<String> arguments = Collections.singletonList("--illegal-access=warn");
test.jvmArgs(arguments);
});
}

View File

@ -1594,7 +1594,7 @@ bom {
]
}
}
library("Spring LDAP", "2.3.3.RELEASE") {
library("Spring LDAP", "2.3.4.BUILD-SNAPSHOT") {
group("org.springframework.ldap") {
modules = [
"spring-ldap-core",