just started with the codenarc plugin for grails - seems to be great! But now I try to configure a dynamic report title like this: "code quality report for ${appName}"
Unfortunately, it seems that the appName
property is not available at the right time - I just get a null value.
Any ideas?
PS: using Grails 2.0.4 with ":codenarc:0.19"
appName
is by default bound inBuildConfig.groovy
but is not available to the configuration closure forcodenarc
. I am yet to become cognizant of an absolute reasoning behind that behavior, unless anyone here throws some light on it. But you can very well readapplication.properties
directly to get the appName as below: