JavaFX Gradle plugin now uses Gradle's JPMS via https://github.com/openjfx/javafx-gradle-plugin/pull/151 The same should be applied to this plugin