public class CodeQualityToolsPluginExtension
| Constructor and Description |
|---|
CodeQualityToolsPluginExtension(org.gradle.api.model.ObjectFactory objectFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkstyle(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.CheckstyleExtension> action) |
void |
cpd(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.CpdExtension> action) |
void |
detekt(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.DetektExtension> action) |
void |
errorProne(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.ErrorProneExtension> action) |
void |
findbugs(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.FindbugsExtension> action) |
CheckstyleExtension |
getCheckstyle() |
CpdExtension |
getCpd() |
DetektExtension |
getDetekt() |
ErrorProneExtension |
getErrorProne() |
boolean |
getFailEarly()
When set to true all enabled code quality tools will be configured in a way that even a single warning / error will fail the build process.
|
FindbugsExtension |
getFindbugs() |
boolean |
getHtmlReports()
Global configuration which will be applied on all enabled code quality tools that support html reports.
|
java.util.List<java.lang.String> |
getIgnoreProjects()
List of subprojects identified by their name that should be ignored.
|
KtlintExtension |
getKtlint() |
LintExtension |
getLint() |
PmdExtension |
getPmd() |
boolean |
getTextReports()
Global configuration which will be applied on all enabled code quality tools that support text reports.
|
boolean |
getXmlReports()
Global configuration which will be applied on all enabled code quality tools that support xml reports.
|
void |
ktlint(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.KtlintExtension> action) |
void |
lint(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.LintExtension> action) |
void |
pmd(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.PmdExtension> action) |
void |
setFailEarly(boolean p)
When set to true all enabled code quality tools will be configured in a way that even a single warning / error will fail the build process.
|
void |
setHtmlReports(boolean p)
Global configuration which will be applied on all enabled code quality tools that support html reports.
|
void |
setIgnoreProjects(java.util.List<java.lang.String> p)
List of subprojects identified by their name that should be ignored.
|
void |
setTextReports(boolean p)
Global configuration which will be applied on all enabled code quality tools that support text reports.
|
void |
setXmlReports(boolean p)
Global configuration which will be applied on all enabled code quality tools that support xml reports.
|
public CodeQualityToolsPluginExtension(org.gradle.api.model.ObjectFactory objectFactory)
public boolean getFailEarly()
When set to true all enabled code quality tools will be configured in a way that even a single warning / error will fail the build process.
public void setFailEarly(boolean p)
When set to true all enabled code quality tools will be configured in a way that even a single warning / error will fail the build process.
public boolean getXmlReports()
Global configuration which will be applied on all enabled code quality tools that support xml reports.
public void setXmlReports(boolean p)
Global configuration which will be applied on all enabled code quality tools that support xml reports.
public boolean getHtmlReports()
Global configuration which will be applied on all enabled code quality tools that support html reports.
public void setHtmlReports(boolean p)
Global configuration which will be applied on all enabled code quality tools that support html reports.
public boolean getTextReports()
Global configuration which will be applied on all enabled code quality tools that support text reports.
public void setTextReports(boolean p)
Global configuration which will be applied on all enabled code quality tools that support text reports.
public java.util.List<java.lang.String> getIgnoreProjects()
List of subprojects identified by their name that should be ignored.
public void setIgnoreProjects(java.util.List<java.lang.String> p)
List of subprojects identified by their name that should be ignored.
public FindbugsExtension getFindbugs()
public void findbugs(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.FindbugsExtension> action)
public CheckstyleExtension getCheckstyle()
public void checkstyle(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.CheckstyleExtension> action)
public PmdExtension getPmd()
public void pmd(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.PmdExtension> action)
public LintExtension getLint()
public void lint(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.LintExtension> action)
public KtlintExtension getKtlint()
public void ktlint(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.KtlintExtension> action)
public DetektExtension getDetekt()
public void detekt(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.DetektExtension> action)
public CpdExtension getCpd()
public void cpd(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.CpdExtension> action)
public ErrorProneExtension getErrorProne()
public void errorProne(org.gradle.api.Action<? super com.vanniktech.code.quality.tools.ErrorProneExtension> action)