使用 JNA 调用本机 API (#3890)

This commit is contained in:
Glavo
2025-05-04 22:31:50 +08:00
committed by GitHub
parent f283254ca0
commit 1ab7ab0750
9 changed files with 301 additions and 34 deletions

View File

@@ -12,6 +12,7 @@ nanohttpd = "2.3.1"
jsoup = "1.19.1"
chardet = "2.5.0"
twelvemonkeys = "3.12.0"
jna = "5.17.0"
# plugins
shadow = "8.3.6"
@@ -31,6 +32,7 @@ nanohttpd = { module = "org.nanohttpd:nanohttpd", version.ref = "nanohttpd" }
jsoup = { module = "org.jsoup:jsoup", version.ref = "jsoup" }
chardet = { module = "org.glavo:chardet", version.ref = "chardet" }
twelvemonkeys-imageio-webp = { module = "com.twelvemonkeys.imageio:imageio-webp", version.ref = "twelvemonkeys" }
jna = { module = "net.java.dev.jna:jna", version.ref = "jna" }
[plugins]
shadow = { id = "com.gradleup.shadow", version.ref = "shadow" }