зеркало из https://github.com/nextcloud/android.git
- rename ruleset
- add test_test to MainApp to test Codacy Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
Родитель
8353ef42bb
Коммит
09da127d29
|
@ -169,7 +169,7 @@ android {
|
|||
}
|
||||
|
||||
tasks.register("pmd", Pmd) {
|
||||
ruleSetFiles = files("${project.rootDir}/pmd-ruleset.xml")
|
||||
ruleSetFiles = files("${project.rootDir}/ruleset.xml")
|
||||
ignoreFailures = false
|
||||
ruleSets = []
|
||||
|
||||
|
|
|
@ -22,4 +22,9 @@
|
|||
<exclude name="ShortVariable" />
|
||||
<exclude name="VariableNamingConventions" />
|
||||
</rule>
|
||||
</ruleset>
|
||||
<rule ref="rulesets/java/naming.xml/MethodNamingConventions">
|
||||
<properties>
|
||||
<property name="violationSuppressXPath" value="//ClassOrInterfaceDeclaration[matches(@Image, '.*Test$')]" />
|
||||
</properties>
|
||||
</rule>
|
||||
</ruleset>
|
Загрузка…
Ссылка в новой задаче