Hi I try to use codenarc plugin with gradle 2.1. But without success.
I add
apply plugin: ‘codenarc’
to my build.gradle and no tasks are added to the gradle tasks list.
Can anyon point me to what I am doing wrong? trying java plugin i see the tasks appear in the list
The codenarc plugin adds one codenarc task per source set. Unless you apply one of the language plugins (java, groovy, etc.) or add your own source sets, there will be no source sets, and you’ll get no tasks.
Wow, thanks that fixed the problem. And I see the check task now.
Thanks