Class 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 Detail

      • DEFAULT_CHECKSTYLE_VERSION

        public static final java.lang.String DEFAULT_CHECKSTYLE_VERSION
        See Also:
        Constant Field Values
    • Constructor Detail

      • CheckstylePlugin

        public CheckstylePlugin()
    • Method Detail

      • getToolName

        protected java.lang.String getToolName()
        Specified by:
        getToolName in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
      • getTaskType

        protected java.lang.Class<Checkstyle> getTaskType()
        Specified by:
        getTaskType in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
      • createExtension

        protected CodeQualityExtension createExtension()
        Specified by:
        createExtension in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
      • configureConfiguration

        protected void configureConfiguration​(Configuration configuration)
        Specified by:
        configureConfiguration in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
      • configureTaskDefaults

        protected void configureTaskDefaults​(Checkstyle task,
                                             java.lang.String baseName)
        Overrides:
        configureTaskDefaults in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>
      • configureForSourceSet

        protected void configureForSourceSet​(SourceSet sourceSet,
                                             Checkstyle task)
        Overrides:
        configureForSourceSet in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<Checkstyle>