Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 768 Bytes

README.md

File metadata and controls

44 lines (25 loc) · 768 Bytes

Build Status

Codenarc Extra.

Hosts extra codenarc rules which are not bundled with codenarc.

Usage

Add dependency to codenarc extra in build.gradle

repositories {
    jcenter()
}


dependencies {
 codenarc "io.9ci.yakworks:codenarc-extra:1.0.1"
}

Add codenarc ruleset in rules.groovy file as shown below.

ruleset {
    ruleset('rulesets/codenarc-extra.xml')
}

That should make the codenarc-extra rules apply.

Rules included in this package

  • CompileStaticRule This rule ensures that all groovy classes are annotated with one of the @CompileStatic, @CompileDynamic or @GrailsCompileStatic