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 ?
gradle check
Edit:
pmd { sourceSets = [sourceSets.main] }
See PmdExtension in the Gradle Build Language Reference.