I am using the PMD Gradle plugin in a build.gradle file. Is there a way to disable the pmdTest task so that it is not run I execute gradle check
?
Edit: In the question I say 'remove'. I really mean 'disable'.
pmd {
sourceSets = [sourceSets.main]
}
See PmdExtension in the Gradle Build Language Reference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With