- rename ruleset

- add test_test to MainApp to test Codacy

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2019-04-11 15:22:55 +02:00
parent 8353ef42bb
commit 09da127d29
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7
2 changed files with 7 additions and 2 deletions

View file

@ -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 = []

View file

@ -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>