Solved: I had to remove the javafx dependencies before building the gradle project. Apparently, those dependencies are needed for the simulator.