@groovy.transform.CompileStatic class SpotbugsReporter extends java.lang.Object
Prints spotbugs errors (from xml report) into console and generates html report using custom xsl. Gradle spotbugs plugin support html report generation too, but it can't generate both xml and html at the same time (so we have to generate html separately, because xml report is required for console reporting).
| Type | Name and description |
|---|---|
ConfigLoader |
configLoader |
| Constructor and description |
|---|
SpotbugsReporter
(ConfigLoader configLoader) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
generateHtmlReport(org.gradle.api.Project project, java.lang.String type) |
|
void |
report(org.gradle.api.Project project, java.lang.String type) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation