How to not run checkstyle/findbugs tasks automatically

Hi, Rene.

I know that I could use the “-x” flag but doign “gradle build -x findbugsMain -x findbugsTest -x checkStyleMain -x checkStyleTest” every time is a bit unwieldy. What I would like to be able to do is to run “gradle build” and not have any of the findbugs or checkstyle tasks run. I would explicitly run the tasks (e. g. “gradle findbugsMain”) whenever I would want to analyze the code.

In effect, I’m looking for a way to remove the dependency on findbugs and checkstyle from the build task (or whichever task is relevant).

Thanks, Dan.