Add pmd tests and new gradlew wrapper