Fix javafx projects by marking jfxrt.jar as a compileOnly dependency; javafx-gradle plugin also adds jfxrt.jar