mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-28 02:14:40 +01:00
update pmd/cpd to 6.44.0
This commit is contained in:
@@ -4,5 +4,5 @@ plugins {
|
||||
check.dependsOn cpdCheck
|
||||
|
||||
cpd {
|
||||
toolVersion = '6.43.0'
|
||||
toolVersion = '6.44.0'
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ pmd {
|
||||
ruleSetFiles = files("${rootDir}/config/pmd-ruleset.xml")
|
||||
ruleSets = []
|
||||
consoleOutput = true
|
||||
toolVersion = '6.43.0'
|
||||
toolVersion = '6.44.0'
|
||||
}
|
||||
tasks.withType(Test).forEach { testTask ->
|
||||
tasks.withType(Pmd).forEach { pmdTask ->
|
||||
|
||||
@@ -112,6 +112,11 @@
|
||||
value="//ClassOrInterfaceDeclaration[ends-with(@SimpleName, 'Dto') or ends-with(@SimpleName, 'DTO')]"/>
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="category/java/design.xml/ImmutableField">
|
||||
<properties>
|
||||
<property name="ignoredAnnotations" value="org.springframework.beans.factory.annotation.Autowired|org.springframework.boot.test.mock.mockito.MockBean|org.mockito.Mock|org.mockito.InjectMocks|javax.persistence.Id" />
|
||||
</properties>
|
||||
</rule>
|
||||
|
||||
<rule ref="category/java/documentation.xml">
|
||||
<exclude name="CommentRequired"/>
|
||||
@@ -138,4 +143,4 @@
|
||||
</rule>
|
||||
|
||||
<rule ref="category/java/security.xml"/>
|
||||
</ruleset>
|
||||
</ruleset>
|
||||
|
||||
Reference in New Issue
Block a user