Skip to content

Commit af6673b

Browse files
authored
ci(dependabot): keep JavaFX on the line that still runs on Java 17 (#471)
JavaFX follows the JDK it was built against, and 21.x is the last line that runs on Java 17. The CI matrix still builds and tests on 17, so the proposed jump to 26.0.2 failed qa's compile outright: javafx-controls resolves, but Label, TextArea, FontWeight and Font are not visible to a release-17 compile and the JavaFX dev-preview tool stops building. Ignoring only major bumps, so patch and minor updates inside 21.x still arrive. The entry says when to drop it: once the matrix floor moves past 17.
1 parent 6c33d93 commit af6673b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ updates:
3434
# jackson-bom >= 2.22.1 (or 2.23.0) lands on Central with full module sync.
3535
- dependency-name: "com.fasterxml.jackson:jackson-bom"
3636
versions: ["2.22.0"]
37+
# JavaFX follows the JDK it was built against: the 21.x line is the last
38+
# one that runs on Java 17, and the CI matrix still builds and tests on 17.
39+
# A major bump therefore fails qa's compile outright — javafx-controls 26
40+
# resolves, but Label / TextArea / FontWeight are not visible to a release-17
41+
# compile, so the JavaFX dev-preview tool stops building. Drop this entry
42+
# when the matrix's floor moves past 17.
43+
- dependency-name: "org.openjfx:*"
44+
update-types: ["version-update:semver-major"]
3745

3846
- package-ecosystem: github-actions
3947
directory: "/"

0 commit comments

Comments
 (0)