add CodeNarc plugin with strange workaround in BuildConfig.groovy