Skip to content

Commit

Permalink
Remove findbugs completely
Browse files Browse the repository at this point in the history
  • Loading branch information
Sloy committed May 17, 2019
1 parent 0f32231 commit 373714d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1,123 deletions.
25 changes: 1 addition & 24 deletions config/android-quality.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
apply plugin: 'pmd'
apply plugin: 'findbugs'
apply plugin: 'checkstyle'

def isTravis = "true".equals(System.getenv("TRAVIS"))
Expand All @@ -8,11 +7,6 @@ pmd {
ruleSetFiles = files("${project.rootDir}/config/pmd/pmd-ruleset.xml")
}

findbugs {
includeFilter = file("${project.rootDir}/config/findbugs/findbugs-config.xml")
excludeFilter = file("${project.rootDir}/config/findbugs/findbugs-excludes.xml")
}

checkstyle {
toolVersion = "7.1.1"
showViolations isTravis
Expand All @@ -39,23 +33,6 @@ task pmd(type: Pmd) {
}
}

task findbugs(type: FindBugs, dependsOn: assemble) {
description 'Run findbugs'
group 'verification'

classes = fileTree('build/intermediates/classes/')
source = fileTree('src/main/java/')
classpath = files()
includeFilter = file("$rootProject.projectDir/config/findbugs/findbugs-config.xml")
excludeFilter = file("$rootProject.projectDir/config/findbugs/findbugs-excludes.xml")
ignoreFailures = false

reports {
xml.enabled = false
html.enabled = true
}
}

task checkstyle(type: Checkstyle) {
description 'Run checkstyle'
group 'verification'
Expand All @@ -68,7 +45,7 @@ task checkstyle(type: Checkstyle) {
classpath = files()
}

check.dependsOn 'checkstyle', 'findbugs', 'pmd', 'lint'
check.dependsOn 'checkstyle', 'pmd', 'lint'

apply plugin: 'jacoco'

Expand Down
Loading

0 comments on commit 373714d

Please sign in to comment.