vanniktech/gradle-android-junit-jacoco-plugin

Unable to exclude java methods contains lambda expression using Jacoco

ajay4dhurvanshi opened this issue · 1 comments

Hi Team,

I want to exclude some of the java methods from getting covered in the JaCoCo report.

I tried with @lombok.Generated annotation it is ignoring the method but if there are any java8 features(like lambda expression) in those methods, it is not able to ignore those lines and still showing some coverage for those lines.

Is there any other configuration or way to exclude the whole method from the Jacoco report even if it is using some java8 code?

Thanks in Advance.

Not that I know. Best to ask at stackoverflow.com