Remove ignored lint rules (#4621)

We don't do anything about these ones, and they just clutter the logs making important stuff much harder to find (as agreed in #2823 and #4077).

We already use IntelliJ's inspections feature to replace the need for this.
This commit is contained in:
Adam Jones 2021-09-20 08:59:57 +02:00 committed by GitHub
parent 7476b0a24d
commit fb634934b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 2 additions and 317 deletions

View file

@ -7,7 +7,6 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
apply plugin: "com.hiya.jacoco-android"
apply from: 'quality.gradle'
def isRunningOnTravisAndIsNotPRBuild = System.getenv("CI") == "true" && file('../play.p12').exists()

View file

@ -1,45 +0,0 @@
apply plugin: 'checkstyle'
apply plugin: 'pmd'
check.dependsOn 'checkstyle', 'pmd'
checkstyle {
toolVersion = '7.5.1'
}
task checkstyle(type: Checkstyle) {
configFile file("${project.rootDir}/script/style/checkstyle.xml")
source 'src'
include '**/*.java'
exclude '**/gen/**'
classpath = files()
reports {
html {
enabled true
destination file("${project.buildDir}/reports/checkstyle/checkstyle.html")
}
}
}
task pmd(type: Pmd) {
ignoreFailures = true
ruleSetFiles = files("${project.rootDir}/script/style/ruleset.xml")
ruleSets = []
source 'src'
include '**/*.java'
exclude '**/gen/**'
reports {
xml.enabled = false
html.enabled = true
xml {
destination file("${project.buildDir}/reports/pmd/pmd.xml")
}
html {
destination file("${project.buildDir}/reports/pmd/pmd.html")
}
}
}