CodeNarcExtension

Configuration options for the CodeNarc plugin.

See also

Constructors

Link copied to clipboard
constructor(project: Project)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun getConfigFile(): File
The CodeNarc configuration file to use.
Link copied to clipboard
@ReplacedBy(value = "reportsDirectory")
open fun getReportsDir(): File
The directory where reports will be generated.
Link copied to clipboard
The directory where reports will be generated.
Link copied to clipboard
Whether to allow the build to continue if there are warnings.
Link copied to clipboard
open fun setConfigFile(file: File)
The CodeNarc configuration file to use.
Link copied to clipboard
open fun setIgnoreFailures(ignoreFailures: Boolean)
Whether to allow the build to continue if there are warnings.
Link copied to clipboard
open fun setReportsDir(reportsDir: File)
Sets the directory where reports will be generated.