@@ -53,9 +53,9 @@ platforms.each { variant, platformList ->
5353// 为每个平台添加对应的 Javet 依赖
5454// 为什么分开配置:允许按需打包,避免在单平台部署时包含不必要的 native 库
5555platforms. each { variant, platformList ->
56- dependencies. add(" javet${ variant} " , ' com.caoccao.javet:javet:5.0.3 ' )
56+ dependencies. add(" javet${ variant} " , ' com.caoccao.javet:javet:5.0.4 ' )
5757 platformList. each { platform ->
58- dependencies. add(" javet${ variant} " , " com.caoccao.javet:javet-node-${ platform} :5.0.3 " )
58+ dependencies. add(" javet${ variant} " , " com.caoccao.javet:javet-node-${ platform} :5.0.4 " )
5959 }
6060}
6161
@@ -66,10 +66,10 @@ configurations {
6666 }
6767}
6868
69- dependencies. add(' javetAllPlatforms' , ' com.caoccao.javet:javet:5.0.3 ' )
69+ dependencies. add(' javetAllPlatforms' , ' com.caoccao.javet:javet:5.0.4 ' )
7070platforms. each { variant, platformList ->
7171 platformList. each { platform ->
72- dependencies. add(' javetAllPlatforms' , " com.caoccao.javet:javet-node-${ platform} :5.0.3 " )
72+ dependencies. add(' javetAllPlatforms' , " com.caoccao.javet:javet-node-${ platform} :5.0.4 " )
7373 }
7474}
7575
@@ -79,7 +79,7 @@ dependencies {
7979 compileOnly ' run.halo.app:api' // compileOnly:运行时由 Halo 提供,避免冲突
8080
8181 // JavaScript 引擎 - 为什么选择 Javet:支持 Node.js 模块,性能好,维护活跃
82- implementation ' com.caoccao.javet:javet:5.0.3 '
82+ implementation ' com.caoccao.javet:javet:5.0.4 '
8383
8484 // Pangu - 自动在中日韩字符和英文、数字、符号之间添加空格,提升可读性
8585 implementation ' ws.vinta:pangu:1.1.0'
@@ -95,7 +95,7 @@ dependencies {
9595 testImplementation ' run.halo.app:api'
9696 testImplementation ' org.springframework.boot:spring-boot-starter-test'
9797 testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
98- testImplementation ' com.caoccao.javet:javet:5.0.3 '
98+ testImplementation ' com.caoccao.javet:javet:5.0.4 '
9999}
100100
101101test {
0 commit comments