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 {