Modified the build.gradle file and the PMD does now work.