CheckstyleExtension
, CodeNarcExtension
, FindBugsExtension
, JDependExtension
, PmdExtension
public abstract class CodeQualityExtension
extends java.lang.Object
Constructor | Description |
---|---|
CodeQualityExtension() |
Modifier and Type | Method | Description |
---|---|---|
java.io.File |
getReportsDir() |
The directory where reports will be generated.
|
java.util.Collection<SourceSet> |
getSourceSets() |
The source sets to be analyzed as part of the check and build tasks.
|
java.lang.String |
getToolVersion() |
The version of the code quality tool to be used.
|
boolean |
isIgnoreFailures() |
Whether or not to allow the build to continue if there are warnings.
|
void |
setIgnoreFailures(boolean ignoreFailures) |
|
void |
setReportsDir(java.io.File reportsDir) |
|
void |
setSourceSets(java.util.Collection<SourceSet> sourceSets) |
|
void |
setToolVersion(java.lang.String toolVersion) |
public java.lang.String getToolVersion()
public void setToolVersion(java.lang.String toolVersion)
public java.util.Collection<SourceSet> getSourceSets()
public void setSourceSets(java.util.Collection<SourceSet> sourceSets)
public boolean isIgnoreFailures()
public void setIgnoreFailures(boolean ignoreFailures)
public java.io.File getReportsDir()
public void setReportsDir(java.io.File reportsDir)