From c4a96b8f68e718d555e6e1b2d9516f47a08a83f6 Mon Sep 17 00:00:00 2001 From: BlueboyZX <71201900+BlueboyZX@users.noreply.github.com> Date: Tue, 10 Sep 2024 02:50:52 -0400 Subject: [PATCH] Add OpenJFX dependency for screen capture. This modifies build.gradle to support Wayland screen capture via OpenJFX. --- build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index ca0f514..6b69b7d 100644 --- a/build.gradle +++ b/build.gradle @@ -27,6 +27,9 @@ dependencies { implementation 'com.formdev:flatlaf:3.2.5' implementation 'com.formdev:flatlaf-intellij-themes:3.2.5' + // System Tray + implementation 'com.dorkbox:SystemTray:4.4' + // OCR implementation 'net.sourceforge.tess4j:tess4j:5.8.0' implementation 'org.openpnp:opencv:4.8.1-0' @@ -35,6 +38,7 @@ dependencies { implementation 'org.imgscalr:imgscalr-lib:4.2' implementation 'org.apache.commons:commons-math3:3.6.1' implementation 'com.opencsv:opencsv:5.7.1' + implementation 'com.github.oshi:oshi-core:6.6.3' // Tests testImplementation 'org.springframework.boot:spring-boot-starter-test' @@ -104,4 +108,4 @@ task copyStartScript(type: Copy) { } task dist(dependsOn: ['copyJar', 'copyTessdata', 'copyStartScript', 'jlink']) { -} \ No newline at end of file +}