Replaced List with Collection whenever applicable.

Added rule priority configuration.

Cleaned up tests
This commit is contained in:
Erik C. Thauvin 2024-06-22 11:10:46 -07:00
parent 0e55b2774a
commit 709943e23b
Signed by: erik
GPG key ID: 776702A6A2DA330E
8 changed files with 679 additions and 174 deletions

View file

@ -1,6 +1,5 @@
# [bld](https://rife2.com/bld) Extension to Perform Static Code Analysis with [PMD](https://pmd.github.io/)
[![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Java](https://img.shields.io/badge/java-17%2B-blue)](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
[![bld](https://img.shields.io/badge/1.9.1-FA9052?label=bld&labelColor=2392FF)](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();
}