Skip to content


Groovy | Home | Release Notes | Plugin

By default, plugin is activated if groovy sources available (src/main/groovy).


24 (0 / 10 / 14) CodeNarc violations were found in 2 files

[Formatting | ClassJavadoc] sample.(GSample.groovy:3)  [priority 2]
    >> class GSample {
  Class sample.GSample missing Javadoc
  Makes sure each class and interface definition is preceded by javadoc. Enum definitions are not checked, due to strange behavior in the Groovy AST.


Counts in braces show priorities (p1/p2/p3).


Tool config options with defaults:

quality {
    codenarcVersion = '1.2.1'
    codenarc = true // false to disable automatic plugin activation


To suppress violation: