Feat: add static analytic of code

This commit is contained in:
Laurent Clouet
2024-06-03 14:02:30 +00:00
parent c966a1a032
commit 4bce6409e3
52 changed files with 249 additions and 316 deletions

View File

@@ -2,6 +2,7 @@ plugins {
id 'java-library'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'pmd'
}
sourceCompatibility = '1.11'
@@ -63,3 +64,9 @@ jar {
configurations.implementation.collect { it.isDirectory() ? it : zipTree(it) }
}
}
pmd {
ignoreFailures = false
ruleSetFiles = files("rulesets/java-sheepit.xml")
ruleSets = []
}