Open
Description
In order to use incubator modules with the gradle plugin, I have to do the following:
- Add
--add-exports
from javafx.graphics and javafx.base - Declare explicit
implementation
dependencies on the libs
I cannot figure out how to make the run
task consider these dependencies for the module path, so maybe there's something I'm missing.
I propose to add incubator modules to the JavaFXModule
enum so they can be specified as expected:
javafx {
version = "25-ea+18"
fxModules = setOf<String>("javafx.controls", "javafx.web", "jfx.incubator.richtext", "jfx.incubator.input")
}
Once this works, module-path and add-modules work, and I can modularize my application.
(Note 1: the module-info.java for richtext declares a dependency on the input module but the POM for it does not. I submitted a report to JBS but I don't see it yet.)
(Note 2: the incubator modules are "available" in JavaFX 24 but they are not published; see https://bugs.openjdk.org/browse/JDK-8354462)
Metadata
Metadata
Assignees
Labels
No labels