Skip to content

Commit 811507d

Browse files
kariannaCopilot
andauthored
Use latestJavaVersion for JavaFX version to pick up patch releases (#7529)
The javafx block was using the bare major version (javaVersion=25) which resolved to JavaFX 25. Switch to latestJavaVersion which queries the Adoptium API for the latest patch release (e.g. 25.0.2), keeping JavaFX in sync with the JDK patch level. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 41eb65c commit 811507d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ java {
9292
* Set the version and the modules we want from JavaFX (not everything)
9393
*/
9494
javafx {
95-
version = javaVersion
95+
version = latestJavaVersion
9696
modules = [ 'javafx.controls', 'javafx.swing', 'javafx.fxml', 'javafx.graphics', 'javafx.web' ]
9797
}
9898

0 commit comments

Comments
 (0)