Class CodeNarcPlugin

  • All Implemented Interfaces:
    Plugin<org.gradle.api.internal.project.ProjectInternal>

    public abstract class CodeNarcPlugin
    extends org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
    CodeNarc Plugin.
    See Also:
    CodeNarc plugin reference
    • Field Detail

      • DEFAULT_CODENARC_VERSION

        public static final java.lang.String DEFAULT_CODENARC_VERSION
    • Constructor Detail

      • CodeNarcPlugin

        public CodeNarcPlugin()
    • Method Detail

      • getToolName

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

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

        protected java.lang.Class<? extends Plugin<?>> getBasePlugin()
        Overrides:
        getBasePlugin in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
      • createExtension

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

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

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

        protected void beforeApply()
        Overrides:
        beforeApply in class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
      • configureForSourceSet

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