For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

CodeNarcPlugin

abstract class CodeNarcPlugin : AbstractCodeQualityPlugin<CodeNarc> (source)

CodeNarc Plugin.

Since

1.0

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val DEFAULT_CODENARC_VERSION: String = "3.7.0-groovy-4.0"
The default codenarc version.

Functions

Link copied to clipboard
abstract fun apply(target: T)
fun apply(project: ProjectInternal)
Apply this plugin to the given target object.