mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Start building against Spring LDAP 2.3.4 snapshots
See gh-26393
This commit is contained in:
parent
0d920894b7
commit
a5cb9540ca
@ -17,6 +17,7 @@
|
|||||||
package org.springframework.boot.build.toolchain;
|
package org.springframework.boot.build.toolchain;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.gradle.api.Plugin;
|
import org.gradle.api.Plugin;
|
||||||
@ -85,9 +86,7 @@ public class ToolchainPlugin implements Plugin<Project> {
|
|||||||
|
|
||||||
private void configureTestToolchain(Project project, ToolchainExtension toolchain) {
|
private void configureTestToolchain(Project project, ToolchainExtension toolchain) {
|
||||||
project.getTasks().withType(Test.class, (test) -> {
|
project.getTasks().withType(Test.class, (test) -> {
|
||||||
// See https://github.com/spring-projects/spring-ldap/issues/570
|
List<String> arguments = Collections.singletonList("--illegal-access=warn");
|
||||||
List<String> arguments = Arrays.asList("--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED",
|
|
||||||
"--illegal-access=warn");
|
|
||||||
test.jvmArgs(arguments);
|
test.jvmArgs(arguments);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -1594,7 +1594,7 @@ bom {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
library("Spring LDAP", "2.3.3.RELEASE") {
|
library("Spring LDAP", "2.3.4.BUILD-SNAPSHOT") {
|
||||||
group("org.springframework.ldap") {
|
group("org.springframework.ldap") {
|
||||||
modules = [
|
modules = [
|
||||||
"spring-ldap-core",
|
"spring-ldap-core",
|
||||||
|
Loading…
Reference in New Issue
Block a user