How do I run code quality tasks without applying the plugin all the time?

What I mean is, while I am developing on my local machine, I would like compile and test to be quick with a “gradle build”. Before checking in, and on the CI server I would like Findbugs, PMD, etc to be run, possibly by calling another task. Is there a way I can create tasks that run these without having the plugins applied all the time?

Nevermind, once I had my coffee and woke up I realized I could just run assemble and/or test instead of a full build.