Closed baev closed 7 years ago
yep, that is correct in general. My sourceSet contains two folders build/generated-sources
and src/main/java
(and I can split them to different source sets for some reason). So it would be nice to exclude generated sources from analysis (generated sources is in the same package and may contains a lot of classes)
@xvik is there any chance to get this implemented soon?
It's already implemented but needs some polishing before publication. The new version should be released in a couple of days.
@xvik glad to hear, thanks
Released 2.2.0
I suppose your configuration is something like this:
sourceSets.main {
java {
srcDir 'build/generated-sources'
}
}
So to exclude all generated classes you can use:
quality {
excludeSources = fileTree('build/genearted-sources')
}
See full description in the new docs chapter
thank you so much
I assume that you want something like this:
Is it correct? If not please show your example.