Added PMD & rules
This commit is contained in:
parent
ffe05f5b2e
commit
a32fde02d0
5 changed files with 134 additions and 1 deletions
|
@ -3,6 +3,7 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
|
|||
|
||||
plugins {
|
||||
`java-library`
|
||||
pmd
|
||||
id("com.github.ben-manes.versions") version "0.46.0"
|
||||
}
|
||||
|
||||
|
@ -40,6 +41,13 @@ java {
|
|||
}
|
||||
}
|
||||
|
||||
pmd {
|
||||
isIgnoreFailures = true
|
||||
ruleSetFiles = files("${projectDir}/config/pmd.xml")
|
||||
isConsoleOutput = true
|
||||
}
|
||||
|
||||
|
||||
tasks {
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue