apply plugin: 'findbugs' findbugs { ignoreFailures = true sourceSets = [sourceSets.main] } tasks.withType(FindBugs) { reports { xml.enabled = false html.enabled = true } }