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.
gradle
Toggle table of contents
9.9.3
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.api.plugins.quality
/
CodeNarcPlugin
Code
Narc
Plugin
API
abstract
class
CodeNarcPlugin
:
AbstractCodeQualityPlugin
<
CodeNarc
>
(
source
)
CodeNarc Plugin.
Since
1.0
See also
CodeNarc plugin reference
Members
Constructors
Code
Narc
Plugin
Link copied to clipboard
API
constructor
(
)
Properties
DEFAULT_
CODENARC_
VERSION
Link copied to clipboard
API
val
DEFAULT_CODENARC_VERSION
:
String
=
"3.7.0-groovy-4.0"
The default codenarc version.
Functions
apply
Link copied to clipboard
API
abstract
fun
apply
(
target
:
T
)
fun
apply
(
project
:
ProjectInternal
)
Apply this plugin to the given target object.