Hi Ronen,
since the AddEmptyStringRule was added in codenarc 0.13 and the latest
gradle snapshot uses this 0.13 version, this should work. Can you double
check your used versions.
You needn't to add codenarc to your classpath since it is part of the
gradle distribution.
regards,
rené
> Im trying to use codenarc with the latest gradle milestone, im also using
> a
> groovy based rule set:
>
> codeNarcConfigFileName = 'config/codenarc/rules.groovy'
>
> Running:
>
> ./gradlew jmx-plugin:codenarcMain
>
> Results with:
>
> Caused by: java.lang.ClassNotFoundException:
> org.codenarc.rule.basic.AddEmptyStringRule
>
> Should I add the codenarc jar as a buildscript dependency or is this a
> bug?
>
> Thanks
> Ronen
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email