mirror of
https://github.com/nextcloud/android.git
synced 2024-11-21 20:55:31 +03:00
- rename ruleset
- add test_test to MainApp to test Codacy Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
8353ef42bb
commit
09da127d29
2 changed files with 7 additions and 2 deletions
|
@ -169,7 +169,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register("pmd", Pmd) {
|
tasks.register("pmd", Pmd) {
|
||||||
ruleSetFiles = files("${project.rootDir}/pmd-ruleset.xml")
|
ruleSetFiles = files("${project.rootDir}/ruleset.xml")
|
||||||
ignoreFailures = false
|
ignoreFailures = false
|
||||||
ruleSets = []
|
ruleSets = []
|
||||||
|
|
||||||
|
|
|
@ -22,4 +22,9 @@
|
||||||
<exclude name="ShortVariable" />
|
<exclude name="ShortVariable" />
|
||||||
<exclude name="VariableNamingConventions" />
|
<exclude name="VariableNamingConventions" />
|
||||||
</rule>
|
</rule>
|
||||||
</ruleset>
|
<rule ref="rulesets/java/naming.xml/MethodNamingConventions">
|
||||||
|
<properties>
|
||||||
|
<property name="violationSuppressXPath" value="//ClassOrInterfaceDeclaration[matches(@Image, '.*Test$')]" />
|
||||||
|
</properties>
|
||||||
|
</rule>
|
||||||
|
</ruleset>
|
Loading…
Reference in a new issue