openjfx / javafx-gradle-plugin

Gradle plugin that makes it easy to work with JavaFX 11+
https://openjfx.io/
BSD 3-Clause "New" or "Revised" License
359 stars 62 forks source link

Non-modular support to get rid of JavaFX 16 warning #108

Closed ripcurlx closed 3 years ago

ripcurlx commented 3 years ago

Using the plugin in a non-modular project prints following warning:

Unsupported JavaFX configuration: classes were loaded from 'unnamed module @41005828'

This is because of https://bugs.openjdk.java.net/browse/JDK-8256362.

Is there a configuration option for the plugin to add the openjfx modules correctly as modules for a non-modular project?

abhinayagarwal commented 3 years ago

This is not something which can be handled via the plugin. The warning comes from JavaFX and as stated in the linked JBS issue, JavaFX should be loaded from moudule-path and not from classpath.