Skip to content

Commit ea2f7ad

Browse files
authored
Update build.gradle
update controls and graphics modules for javafx
1 parent d2d45d8 commit ea2f7ad

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

build.gradle

+6-5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ java {
1313
sourceCompatibility = '17'
1414
}
1515

16+
javafx {
17+
version = "21"
18+
modules = [ 'javafx.controls' ]
19+
modules = [ 'javafx.graphics' ]
20+
}
21+
1622
repositories {
1723
mavenCentral()
1824
}
@@ -37,11 +43,6 @@ dependencies {
3743
implementation 'org.imgscalr:imgscalr-lib:4.2'
3844
implementation 'org.apache.commons:commons-math3:3.6.1'
3945
implementation 'com.opencsv:opencsv:5.7.1'
40-
41-
// Wayland
42-
implementation platform('org.openjfx:javafx-bom:19') // Use BOM for version consistency
43-
implementation 'org.openjfx:javafx-controls:19' // Core OpenJFX controls
44-
implementation 'org.openjfx:javafx-graphics:19' // Essential for graphics rendering
4546

4647
// Tests
4748
testImplementation 'org.springframework.boot:spring-boot-starter-test'

0 commit comments

Comments
 (0)