From 2f7ce424809bae96dade5d963f5f8ed775fed237 Mon Sep 17 00:00:00 2001 From: Manuel Fuhr Date: Wed, 3 Apr 2024 14:29:49 +0200 Subject: [PATCH] Upgrade to PMD 7.0.0 and disable violated rules --- build.gradle | 2 +- config/pmd/pmd-ruleset.xml | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index f2e698c..f1348b5 100644 --- a/build.gradle +++ b/build.gradle @@ -52,7 +52,7 @@ allprojects { pmd { consoleOutput = true - toolVersion = "6.51.0" + toolVersion = "7.0.0" rulesMinimumPriority = 5 ruleSetFiles = files("${rootProject.rootDir}/config/pmd/pmd-ruleset.xml") ruleSets = [] diff --git a/config/pmd/pmd-ruleset.xml b/config/pmd/pmd-ruleset.xml index 787e663..dc7ae3e 100644 --- a/config/pmd/pmd-ruleset.xml +++ b/config/pmd/pmd-ruleset.xml @@ -45,11 +45,18 @@ + + + + + + + - +