Replaced List with Collection whenever applicable.
Added rule priority configuration. Cleaned up tests
This commit is contained in:
parent
0e55b2774a
commit
709943e23b
8 changed files with 679 additions and 174 deletions
|
@ -1,6 +1,5 @@
|
|||
# [bld](https://rife2.com/bld) Extension to Perform Static Code Analysis with [PMD](https://pmd.github.io/)
|
||||
|
||||
|
||||
[](https://opensource.org/licenses/Apache-2.0)
|
||||
[](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
||||
[](https://rife2.com/bld)
|
||||
|
@ -33,7 +32,7 @@ public void pmdMain() throws Exception {
|
|||
new PmdOperation()
|
||||
.fromProject(this)
|
||||
.failOnViolation(true)
|
||||
.inputPaths(srcMainDirectory().toPath())
|
||||
.inputPaths(srcMainDirectory())
|
||||
.ruleSets("config/pmd.xml", "category/java/errorprone.xml")
|
||||
.execute();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue