Skip to content

Commit 1880847

Browse files
fix: add transitive modules for badass-runtime-plugin
1 parent 94d6b22 commit 1880847

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
plugins {
77
id 'application'
88
id 'org.openjfx.javafxplugin' version '0.1.0'
9+
// id 'org.javamodularity.moduleplugin' version '1.8.12'
910
id 'org.beryx.runtime' version '1.13.1'
1011
// id 'org.unbroken-dome.xjc' version '2.0.0'
1112
id 'com.github.bjornvester.xjc' version "1.8.1" // https://github.com/bjornvester/xjc-gradle-plugin
@@ -84,7 +85,8 @@ configurations.testXjcCatalogResolution {
8485
javafx {
8586
version = '22.0.1' // '16' // '14.0.2.1'
8687
// modules = ['javafx.base', 'javafx.graphics', 'javafx.controls']
87-
modules = ['javafx.controls', 'javafx.swing', 'javafx.fxml', 'javafx.media', 'javafx.web']
88+
// Note: org.openjfx.javafxplugin@0.1.0 with badass-runtime-plugin relies on having all modules (transitive included) declared as "top-level" modules
89+
modules = ['javafx.base', 'javafx.graphics', 'javafx.controls', 'javafx.swing', 'javafx.fxml', 'javafx.media', 'javafx.web']
8890
}
8991

9092
xjc {

0 commit comments

Comments
 (0)