Package org.gradle.api.plugins.quality
Class CheckstylePlugin
- java.lang.Object
-
- org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
-
- org.gradle.api.plugins.quality.CheckstylePlugin
-
- All Implemented Interfaces:
Plugin<org.gradle.api.internal.project.ProjectInternal>
public abstract class CheckstylePlugin extends org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
Checkstyle Plugin.- See Also:
- Checkstyle plugin reference
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_CHECKSTYLE_VERSION
-
Constructor Summary
Constructors Constructor Description CheckstylePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureConfiguration(Configuration configuration)
protected void
configureForSourceSet(SourceSet sourceSet, Checkstyle task)
protected void
configureTaskDefaults(Checkstyle task, java.lang.String baseName)
protected CodeQualityExtension
createExtension()
protected java.lang.Class<Checkstyle>
getTaskType()
protected JavaToolchainService
getToolchainService()
protected java.lang.String
getToolName()
-
Methods inherited from class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin
apply, beforeApply, conventionMappingOf, createConfigurations, getBasePlugin, getConfigurationName, getJavaPluginExtension, getJvmPluginServices, getReportName, getRootProjectDirectory, getTaskBaseName, withBasePlugin
-
-
-
-
Field Detail
-
DEFAULT_CHECKSTYLE_VERSION
public static final java.lang.String DEFAULT_CHECKSTYLE_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getToolName
protected java.lang.String getToolName()
- Specified by:
getToolName
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
-
getTaskType
protected java.lang.Class<Checkstyle> getTaskType()
- Specified by:
getTaskType
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
-
getToolchainService
@Inject protected JavaToolchainService getToolchainService()
-
createExtension
protected CodeQualityExtension createExtension()
- Specified by:
createExtension
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
-
configureConfiguration
protected void configureConfiguration(Configuration configuration)
- Specified by:
configureConfiguration
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
-
configureTaskDefaults
protected void configureTaskDefaults(Checkstyle task, java.lang.String baseName)
- Overrides:
configureTaskDefaults
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
-
configureForSourceSet
protected void configureForSourceSet(SourceSet sourceSet, Checkstyle task)
- Overrides:
configureForSourceSet
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
-
-