Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore how modules interact with JavaFX #9

Open
nipafx opened this issue Nov 5, 2021 · 1 comment
Open

Explore how modules interact with JavaFX #9

nipafx opened this issue Nov 5, 2021 · 1 comment
Labels

Comments

@nipafx
Copy link
Owner

nipafx commented Nov 5, 2021

Some related links:

@nipafx nipafx added the javafx label Nov 5, 2021
@nlisker
Copy link

nlisker commented Jul 30, 2023

Some additions:

There is a JavaFX Plugin that configures the JavaFX dependencies without the need to manually specify dependencies and configuration. However, it's not working properly with modules, apparently since it still thinks gradle doesn't know how to handle modules:

You need to specify the dependencies manually. If you use the FXML module, because it uses reflection, you also need to open it.

Another point is that JavaFX modules are platform-specific and use a classifier. For example

"org.openjfx:javafx-graphics:$javafxVersion:win"

will download the graphics module for windows. To create a cross-platform application, you need to specify the other platform dependencies too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants