Hi,
I see it as alternative to existing Code Quality plugin. There were two
reasons why I didn't use it and went on writing my own thing:
- Code Quality not being flexible enough. It exposes very few
configurations that can be applied to CodeNarc Ant task.
My plugin exposes everything that can be configured:
- CodeNarc version to use which can't be set with Code Quality.
- Directories to scan for files + extension of files to scan. This
allows to scan Gradle builds as well, for example.
- List of ruleset files, unlike a single file that can be set with
Code Quality.
- Priority violations limit (all 3 levels) which can't be set with
Code Quality.
- Code Quality comes with Checkstyle verifications which I wasn't
interested in using.
I'm now working on wiki page which will demonstrate all possible
configurations and provide a number of working examples as well.
Hope it'll explain better the points above.
On Tue, Aug 9, 2011 at 03:40, Chris Mair <chr...@ea...> wrote:
> Evgeny,****
>
> ** **
>
> Would this replace or complement the CodeNarc support with the Gradle *Code
> Quality Plugin*: http://www.gradle.org/code_quality_plugin.html?****
>
> ** **
>
> Chris****
>
> ** **
>
> *From:* Evgeny Goldin [mailto:ev...@gm...]
> *Sent:* Monday, August 08, 2011 5:51 AM
> *To:* cod...@li...
> *Subject:* [Codenarc-user] CodeNarc Gradle plugin****
>
> ** **
>
> Hi,****
>
> ** **
>
> ** **
>
> I'm about to announce CodeNarc Gradle plugin<https://raw.github.com/evgeny-goldin/gradle-plugins/master/src/main/groovy/CodeNarc.gradle>.
> Here are some usage examples: 1 <http://goo.gl/vwaZJ>, 2<http://goo.gl/i67x0>
> , 3 <http://goo.gl/Wzymd>.****
>
> It allows to specify CodeNarc version, ruleset files, violations limit,
> files to scan, etc.****
>
> ****
>
> Any volunteers to try it out before the announcement is made? Would love to
> hear your opinions.****
>
> ** **
>
> ** **
>
> Warm regards,****
>
> Evgeny****
>
> evgeny-goldin.com****
>
> ** **
>
|