Attempted to implement Shenmon's Javafx-gradle plugin but experienced a travis build failure. The plugin is fairly old: https://bitbucket.org/shemnon/javafx-gradle/
This allowed spotbugs to work but caused a build failure in the gradle wrapper on 4.10.2 and failed the travis build with gradle version 4.1.
Attempted to implement Shenmon's Javafx-gradle plugin but experienced a travis build failure. The plugin is fairly old: https://bitbucket.org/shemnon/javafx-gradle/ This allowed spotbugs to work but caused a build failure in the gradle wrapper on 4.10.2 and failed the travis build with gradle version 4.1.
Another plugin I've found: https://github.com/javafx-maven-plugin/javafx-maven-plugin info here: https://www.eclipse.org/efxclipse/index.html which needs some testing done with the current gradle build.
As of now Spotbugs is unable to analyze classes with javafx dependencies.