I have generated sources in a specific package added to the main java sourceset. These classes are picked up by checkstyle, findbugs and pmd.
While I can use
to exclude the generated sources (they’re generated to a specific package), this does not work for findbugs (findbugsMain.exclude …): findbugs reports style issues for the generated classes.
Is this a bug, or what am I doing wrong? I’m using gradle 1.7 with findbugs 2.0.1 btw.