I'm integrating findbugs in a mixed java/kotlin project. However, as findbugs acts on the generated jar it is finding bugs related to classes generated through kotlin file.
Is there any way to avoid checks on these classes?
Thank you
Filter based on the <Source>
filter type.
This element matches warnings associated with a particular source file. The name attribute is used to specify the exact or regex match pattern for the source file name.
<FindBugsFilter>
<Match>
<Source name="~.*\.kt"/>
</Match>
</FindBugsFilter>
See: documentation for FindBugs filters and name matching details
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With