Announcing the release of the Grails CodeNarc Plugin
<http://grails.org/plugin/codenarc> version 0.12.
CodeNarc <http://codenarc.sourceforge.net/> is a static analysis tool for
Groovy source code. The Grails CodeNarc Plugin
<http://grails.org/plugin/codenarc> provides CodeNarc integration for your
Grails projects.
New Features
. New Reports DSL, including support for multiple reports.
http://jira.grails.org/browse/GPCODENARC-7.
The preferred way to configure reports is now to specify a reports DSL
closure within "config.groovy", e.g.
codenarc.reports = {
MyXmlReport('xml') {
outputFile = 'CodeNarc-Report.xml'
title = 'Sample Report'
}
MyHtmlReport('html') {
outputFile = 'CodeNarc-Report.html'
title = 'Sample Report'
}
}
NOTE: The codenarc.reportName, codenarc.reportTitle and codenarc.reportType
configuration properties are now deprecated.
. Provide error message on failure instead of throwing
BuildException. Add support for codenarc.systemExitOnBuildException
configuration option; defaults to true:
http://jira.grails.org/browse/GPCODENARC-9.
. Allow CodeNarc rules to optionally be applied to GSP files:
http://jira.grails.org/browse/GPCODENARC-11.
|