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:
-
Field Summary
Fields inherited from class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin
project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
configureConfiguration
(Configuration configuration) protected void
configureForSourceSet
(SourceSet sourceSet, CodeNarc task) protected void
configureTaskDefaults
(CodeNarc task, String baseName) protected CodeQualityExtension
protected abstract JavaToolchainService
protected String
Methods inherited from class org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin
apply, conventionMappingOf, createConfigurations, getConfigurationName, getJavaPluginExtension, getJvmPluginServices, getReportName, getRootProjectDirectory, getTaskBaseName, withBasePlugin
-
Field Details
-
DEFAULT_CODENARC_VERSION
-
-
Constructor Details
-
CodeNarcPlugin
public CodeNarcPlugin()
-
-
Method Details
-
getToolName
- Specified by:
getToolName
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
getTaskType
- Specified by:
getTaskType
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
getToolchainService
-
getBasePlugin
- Overrides:
getBasePlugin
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
createExtension
- Specified by:
createExtension
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
configureConfiguration
- Specified by:
configureConfiguration
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-
configureTaskDefaults
- 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>
-
configureForSourceSet
- Overrides:
configureForSourceSet
in classorg.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin<CodeNarc>
-