I want to disable findbugs/checkstyle/pmd/codenarc with a command-line switch, e.g. -DskipChecks
. Any ideas?
I’ve seen How to not run checkstyle/findbugs tasks automatically but that seems to disable the checks all the time.
I want to disable findbugs/checkstyle/pmd/codenarc with a command-line switch, e.g. -DskipChecks
. Any ideas?
I’ve seen How to not run checkstyle/findbugs tasks automatically but that seems to disable the checks all the time.
What do you want to run? Just compile? Compile + test?
If you want to just compile, run gradle assemble
If you want to compile and test, run gradle test
You don’t need to run gradle build
if you don’t want to do most of the checks (Pmd/FindBugs/etc).