Reputation: 24297
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'.
Upvotes: 5
Views: 4131
Reputation: 123960
pmd {
sourceSets = [sourceSets.main]
}
See PmdExtension in the Gradle Build Language Reference.
Upvotes: 9