I have a build based on Gradle that works perfectly fine on Mac Os, here are the details of my configuration. The gradle test are using the JavaFX.