I am new to Gradle and Codenarc but I found no example showing how to exclude a package from codenarc reports.
For example, I have a groovy application that uses, for instance, the package myapp.main and myapp.legacy
I want all my ruleset applied to myapp.main but none to myapp.legacy. How can I accomplish that?