Skip to content

Commit c4a96b8

Browse files
authored
Add OpenJFX dependency for screen capture.
This modifies build.gradle to support Wayland screen capture via OpenJFX.
1 parent 4c96d83 commit c4a96b8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle

+5-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ dependencies {
2727
implementation 'com.formdev:flatlaf:3.2.5'
2828
implementation 'com.formdev:flatlaf-intellij-themes:3.2.5'
2929

30+
// System Tray
31+
implementation 'com.dorkbox:SystemTray:4.4'
32+
3033
// OCR
3134
implementation 'net.sourceforge.tess4j:tess4j:5.8.0'
3235
implementation 'org.openpnp:opencv:4.8.1-0'
@@ -35,6 +38,7 @@ dependencies {
3538
implementation 'org.imgscalr:imgscalr-lib:4.2'
3639
implementation 'org.apache.commons:commons-math3:3.6.1'
3740
implementation 'com.opencsv:opencsv:5.7.1'
41+
implementation 'com.github.oshi:oshi-core:6.6.3'
3842

3943
// Tests
4044
testImplementation 'org.springframework.boot:spring-boot-starter-test'
@@ -104,4 +108,4 @@ task copyStartScript(type: Copy) {
104108
}
105109

106110
task dist(dependsOn: ['copyJar', 'copyTessdata', 'copyStartScript', 'jlink']) {
107-
}
111+
}

0 commit comments

Comments
 (0)