Package org.gradle.api.plugins.quality
Class CodeNarcPlugin
- java.lang.Object
-
- org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
- org.gradle.api.plugins.quality.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 Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_CODENARC_VERSION
-
Constructor Summary
Constructors Constructor Description CodeNarcPlugin()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
beforeApply()
protected void
configureConfiguration(Configuration configuration)
protected void
configureForSourceSet(SourceSet sourceSet, CodeNarc task)
protected void
configureTaskDefaults(CodeNarc task, java.lang.String baseName)
protected CodeQualityExtension
createExtension()
protected java.lang.Class<? extends Plugin<?>>
getBasePlugin()
protected java.lang.Class<CodeNarc>
getTaskType()
protected abstract JavaToolchainService
getToolchainService()
protected java.lang.String
getToolName()
-
-
-
Method Detail
-
getToolName
protected java.lang.String getToolName()
- Specified by:
getToolName
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
getTaskType
protected java.lang.Class<CodeNarc> getTaskType()
- Specified by:
getTaskType
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
getToolchainService
@Inject protected abstract JavaToolchainService getToolchainService()
-
getBasePlugin
protected java.lang.Class<? extends Plugin<?>> getBasePlugin()
- Overrides:
getBasePlugin
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
createExtension
protected CodeQualityExtension createExtension()
- Specified by:
createExtension
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
configureConfiguration
protected void configureConfiguration(Configuration configuration)
- Specified by:
configureConfiguration
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
configureTaskDefaults
protected void configureTaskDefaults(CodeNarc task, java.lang.String baseName)
- Overrides:
configureTaskDefaults
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
beforeApply
protected void beforeApply()
- Overrides:
beforeApply
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
-