Skip to content

Commit f8bc731

Browse files
author
fxu
committed
chore(deps): 更新依赖库版本并启用原生访问
1 parent 76cafd0 commit f8bc731

2 files changed

Lines changed: 22 additions & 21 deletions

File tree

xJavaFxTool/build.gradle

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -111,22 +111,23 @@ application {
111111
applicationName = "xJavaFxTool"
112112
mainClass = "com.xwintop.xJavaFxTool.XJavaFxToolMain"
113113
// mainModule.set("com.xwintop.xJavaFxTool")
114-
// applicationDefaultJvmArgs = [
115-
// // ZGC
116-
// "-XX:+UseZGC",
117-
// // 当遇到空指针异常时显示更详细的信息
118-
// "-XX:+ShowCodeDetailsInExceptionMessages",
119-
// "-Dsun.java2d.opengl=true",
120-
// // 不添加此参数,打包成exe后,https协议的网络图片资源无法加载
121-
// "-Dhttps.protocols=TLSv1.1,TLSv1.2",
122-
// '--add-exports=javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED',
123-
// '--add-exports=javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED',
124-
// '--add-exports=javafx.graphics/com.sun.javafx.util=ALL-UNNAMED',
125-
// '--add-exports=javafx.graphics/com.sun.javafx.stage=ALL-UNNAMED',
126-
// '--add-exports=javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED',
127-
// '--add-exports=javafx.base/com.sun.javafx.event=ALL-UNNAMED',
128-
// '--add-opens=java.base/java.lang.reflect=ALL-UNNAMED'
129-
// ]
114+
applicationDefaultJvmArgs = [
115+
// ZGC
116+
"-XX:+UseZGC",
117+
// 当遇到空指针异常时显示更详细的信息
118+
"-XX:+ShowCodeDetailsInExceptionMessages",
119+
"-Dsun.java2d.opengl=true",
120+
// 不添加此参数,打包成exe后,https协议的网络图片资源无法加载
121+
"-Dhttps.protocols=TLSv1.1,TLSv1.2",
122+
'--enable-native-access=ALL-UNNAMED',
123+
'--add-exports=javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED',
124+
'--add-exports=javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED',
125+
'--add-exports=javafx.graphics/com.sun.javafx.util=ALL-UNNAMED',
126+
'--add-exports=javafx.graphics/com.sun.javafx.stage=ALL-UNNAMED',
127+
'--add-exports=javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED',
128+
'--add-exports=javafx.base/com.sun.javafx.event=ALL-UNNAMED',
129+
'--add-opens=java.base/java.lang.reflect=ALL-UNNAMED'
130+
]
130131
}
131132

132133
// 使用 https://badass-runtime-plugin.beryx.org/releases/latest/

xcore/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
dependencies {
22
api 'ch.qos.logback:logback-classic:1.5.6'
3-
api 'org.dom4j:dom4j:2.1.4'
3+
api 'org.dom4j:dom4j:2.1.5'
44
// api 'jaxen:jaxen:1.2.0'
55
api 'org.quartz-scheduler:quartz:2.3.2'
66
api 'org.controlsfx:controlsfx:11.2.1'
77
api 'org.rationalityfrontline.workaround:jfoenix:21.0.0'
88
// api 'commons-codec:commons-codec:1.16.0'
99
// api 'org.apache.commons:commons-configuration2:2.9.0'
10-
api 'commons-io:commons-io:2.16.1'
10+
api 'commons-io:commons-io:2.20.0'
1111
api 'org.apache.commons:commons-lang3:3.14.0'
1212
// api 'org.apache.commons:commons-text:1.11.0'
1313
// api 'commons-beanutils:commons-beanutils:1.9.4'
1414
// api 'org.apache.commons:commons-imaging:1.0-alpha3'
15-
api 'cn.hutool:hutool-all:5.8.28'
16-
api 'com.alibaba.fastjson2:fastjson2:2.0.51'
17-
api 'org.bouncycastle:bcprov-jdk18on:1.78.1'
15+
api 'cn.hutool:hutool-all:5.8.41'
16+
api 'com.alibaba.fastjson2:fastjson2:2.0.60'
17+
api 'org.bouncycastle:bcprov-jdk18on:1.82'
1818
}
1919

2020
group = 'com.gitee.xwintop'

0 commit comments

Comments
 (0)