Quality-Tools-for-Android
Quality-Tools-for-Android copied to clipboard
PMD check doesn't seem to work (for gradle)
Steps to reproduce:
- execute command 'gradle pmd'
Expected behaviour: PMD report is generated and present in /report directory
Actual result: no PMD result is present. Task ends with 'UP-TO-DATE' status:
:android-sample:pmd UP-TO-DATE
changing source = fileTree(android.sourceSets.main.java.srcDirs)
to: source = fileTree('src/main/java/')
Fixes the issue.
Your workaround worked for me too.