From 1880847608d6b628bb7c9dbbb8e1b43df4f0f02d Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Wed, 24 Apr 2024 14:44:56 +0200 Subject: [PATCH] fix: add transitive modules for badass-runtime-plugin --- build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index bd10795..545d181 100644 --- a/build.gradle +++ b/build.gradle @@ -6,6 +6,7 @@ plugins { id 'application' id 'org.openjfx.javafxplugin' version '0.1.0' + // id 'org.javamodularity.moduleplugin' version '1.8.12' id 'org.beryx.runtime' version '1.13.1' // id 'org.unbroken-dome.xjc' version '2.0.0' id 'com.github.bjornvester.xjc' version "1.8.1" // https://github.com/bjornvester/xjc-gradle-plugin @@ -84,7 +85,8 @@ configurations.testXjcCatalogResolution { javafx { version = '22.0.1' // '16' // '14.0.2.1' // modules = ['javafx.base', 'javafx.graphics', 'javafx.controls'] - modules = ['javafx.controls', 'javafx.swing', 'javafx.fxml', 'javafx.media', 'javafx.web'] + // Note: org.openjfx.javafxplugin@0.1.0 with badass-runtime-plugin relies on having all modules (transitive included) declared as "top-level" modules + modules = ['javafx.base', 'javafx.graphics', 'javafx.controls', 'javafx.swing', 'javafx.fxml', 'javafx.media', 'javafx.web'] } xjc {