public class FindBugsPlugin extends org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<FindBugs>
Declares a findbugs configuration which needs to be configured with the FindBugs library to be used. Additional plugins can be added to the findbugsPlugins configuration.
For projects that have the Java (base) plugin applied, a FindBugs
task is
created for each source set.
FindBugs
,
FindBugsExtension
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FINDBUGS_VERSION |
Constructor and Description |
---|
FindBugsPlugin() |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeApply() |
protected void |
configureConfiguration(Configuration configuration) |
protected void |
configureForSourceSet(SourceSet sourceSet,
FindBugs task) |
protected void |
configureTaskDefaults(FindBugs task,
String baseName) |
protected CodeQualityExtension |
createExtension() |
protected Class<FindBugs> |
getTaskType() |
protected String |
getToolName() |
public static final String DEFAULT_FINDBUGS_VERSION
protected String getToolName()
getToolName
in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<FindBugs>
protected Class<FindBugs> getTaskType()
getTaskType
in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<FindBugs>
protected void beforeApply()
beforeApply
in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<FindBugs>
protected CodeQualityExtension createExtension()
createExtension
in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<FindBugs>
protected void configureConfiguration(Configuration configuration)
configureConfiguration
in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<FindBugs>
protected void configureTaskDefaults(FindBugs task, String baseName)
configureTaskDefaults
in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<FindBugs>