Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.plugins.quality
Class CodeNarc

    java.lang.Object
      org.gradle.api.internal.ConventionTask
          org.gradle.api.tasks.SourceTask
              org.gradle.api.plugins.quality.CodeNarc

    class CodeNarc
    extends SourceTask

Constructor Summary
`CodeNarc()`

Method Summary
`void` | `check()`
`File` | `getConfigFile()`
`File` | `getReportFile()`
`void` | `setConfigFile(File configFile)`
`void` | `setReportFile(File reportFile)`

Methods inherited from class SourceTask
exclude, exclude, getDefaultSource, getExcludes, getIncludes, getSource, include, include, setExcludes, setIncludes, setSource, source

Constructor Detail

### CodeNarc

    CodeNarc()

Method Detail

### check

    @TaskAction
    public void check()

### getConfigFile

    @InputFile
    public File getConfigFile()

### getReportFile

    @OutputFile
    public File getReportFile()

### setConfigFile

    public void setConfigFile(File configFile)

### setReportFile

    public void setReportFile(File reportFile)

Groovy Documentation