Either that, or customize the build script to provide artifacts for specific platforms. So good news is that indeed it is quite easy to build JavaFX application with jmods and it will everywhere, because there are jmods for any platform. Bad news is that openjfx does not allow to select those dependencies and will use ones for your platform. Neutral news, you can either use CI to build for your platform or tweak gradle script to do it for you. All required artifacts are on mavenCentral.