update PMD compatibility with Gradle 2.0