|
18 | 18 |
|
19 | 19 | application {
|
20 | 20 | mainClass.set(javaMainClass)
|
21 |
| - applicationDefaultJvmArgs = [ |
22 |
| - '--add-exports', 'java.base/sun.security.util=ALL-UNNAMED', |
23 |
| - '--add-opens', 'java.base/java.lang=ALL-UNNAMED', |
24 |
| - '--add-opens', 'java.base/java.net=ALL-UNNAMED', |
25 |
| - '--add-opens', 'java.base/java.net.spi=ALL-UNNAMED', |
26 |
| - '--add-opens', 'java.base/java.util.concurrent=ALL-UNNAMED', |
27 |
| - '--add-opens', 'java.base/javax.crypto=ALL-UNNAMED', |
28 |
| - '--add-opens', 'java.base/javax.security.auth=ALL-UNNAMED', |
29 |
| - '--add-opens', 'java.base/jdk.internal.logger=ALL-UNNAMED', |
30 |
| - '--add-opens', 'java.base/sun.nio.ch=ALL-UNNAMED', |
31 |
| - '--add-opens', 'jdk.management.jfr/jdk.management.jfr=ALL-UNNAMED', |
32 |
| - '--add-opens', 'java.logging/java.util.logging=ALL-UNNAMED', |
33 |
| - '--add-opens', 'java.logging/sun.util.logging.internal=ALL-UNNAMED', |
34 |
| - '--add-opens', 'java.naming/javax.naming.ldap.spi=ALL-UNNAMED', |
35 |
| - '--add-opens', 'java.rmi/sun.rmi.runtime=ALL-UNNAMED', |
36 |
| - '--add-opens', 'jdk.dynalink/jdk.dynalink=ALL-UNNAMED', |
37 |
| - '--add-opens', 'jdk.dynalink/jdk.dynalink.linker=ALL-UNNAMED', |
38 |
| - '--add-opens', 'java.desktop/sun.awt=ALL-UNNAMED', |
39 |
| - '--add-opens', 'java.sql.rowset/javax.sql.rowset.spi=ALL-UNNAMED', |
40 |
| - '--add-opens', 'java.sql/java.sql=ALL-UNNAMED', |
41 |
| - '--add-opens', 'java.xml.crypto/com.sun.org.apache.xml.internal.security.utils=ALL-UNNAMED' |
42 |
| - ] |
43 | 21 | }
|
44 | 22 |
|
45 | 23 | tasks.named("run").configure {
|
|
0 commit comments