Added Java options for tests under JDK 24
This commit is contained in:
parent
11970069df
commit
e67cb22884
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ public class DemoApplicationBuild extends WebProject {
|
|||
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 12, 1)));
|
||||
scope(standalone)
|
||||
.include(dependency("org.springframework.boot", "spring-boot-loader", boot));
|
||||
|
||||
testOperation().javaOptions(List.of("-XX:+EnableDynamicAgentLoading"))
|
||||
.javaOptions().enableNativeAccess("ALL-UNNAMED");
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue