[GRADLE-3488] Add sourceSet.output to PMD classpath Created: 16/Jun/16 Updated: 25/Jan/17 Resolved: 16/Jun/16
|Fix Version/s:||3.0-milestone-2, 3.0-rc-2|
|Reporter:||Marco Vermeulen||Assignee:||Marco Vermeulen|
For the typeresolution feature in PMD it is necessary, that the compiled
Currently, only sourceSet.compileClasspath is used. With this change, both sourceSet.output and sourceSet.compileClasspath will be used. The unit tests have been adjusted accordingly.
This problem has been found via pmd #1468, where you can find a complete sample project.
The workaround is, to configure pmdMain manually, e.g.:
This PR will make this configuration the default.
Source for failing sample code attached below.
|Comment by Marco Vermeulen [ 16/Jun/16 ]|
Has been merged with added integration test incorporating the sample code.
Links to Github issue #649.