From dc5738aec2dd57d97681f4910e4091277e1f05a8 Mon Sep 17 00:00:00 2001 From: Martijn Verburg Date: Fri, 27 Feb 2026 12:29:33 +1300 Subject: [PATCH] Use latestJavaVersion for JavaFX version to pick up patch releases 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> --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 3dfc57a2dd7..1d469725fc2 100644 --- a/build.gradle +++ b/build.gradle @@ -92,7 +92,7 @@ java { * Set the version and the modules we want from JavaFX (not everything) */ javafx { - version = javaVersion + version = latestJavaVersion modules = [ 'javafx.controls', 'javafx.swing', 'javafx.fxml', 'javafx.graphics', 'javafx.web' ] }