Findbugs Report in HTML


(asd) #1

The report produced by the Findbugs plugin ( http://www.gradle.org/docs/current/userguide/findbugs_plugin.html ) is in xml. How do I produce HTML output?


(Luke Daley) #2
tasks.withType(FindBugs) {
  reports {
    xml.enabled = false
    html.enabled = true
  }
}

(asd) #3

Thanks Luke! Worked like a charm.

Was there a way I could have gleaned that from the documentation? I didn’t see it when I looked.


(asd) #4

Thanks Luke! Worked great.

Was there a way I could have gleaned that from the documentation? I didn’t see it when I looked.