GRADLE-2106 - Added target jdk to PMD

Added target jdk to the PMD task and extension.