Open realkarmakun opened 2 years ago
Okay I believe this can be solved by https://github.com/gluonhq/gluonfx-gradle-plugin/pull/159 Is there a snapshot that can be used at the moment?
Alright. I cross compared gradle and maven plugin using HelloFXML project created using Gluon IDEA plugin. Run on gradle failes but maven works just fine. A few points I'd like to make clear:
I also tried building plugin version from the Pull Request - didn't work, same error on nativeRun Guess this issue originates not from my setup, but a gradle plugin itself 😢
This is still very much relevant, gradle plugin litrally doesn't work on my end
I'm using https://github.com/gluonhq/graal/releases build.gradle: https://gist.github.com/realkarmakun/b4efcaa87c65700524e64b725b9c1e82
Build goes through just fine, the run fails though, to me it looks like for some reason JavaFX modules are missing in runtime (Most likely I missed something when setting up project, since sample projects using IDEA plugin with gradle fail as well) I can provide full project if needed. Not sure what exactly is wrong here. App runs just fine using plain JVM from IDE.
Logs of running
nativeRun
:Logs of
nativeBuild
: