arturdm / arturdm/jacoco-android-gradle-plugin
Not excluding classes
- Dominant language
- Groovy
- Stars
- 565
- Forks
- 107
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
I'm using this plugin in combination with Dagger 2 and the latest Butterknife. For some reason the excludes are not taken into account on the generation of the coverage report:
I put it into the gradle file like described in the README and added some own exclude patterns.
This config here: https://github.com/Poeschl/AndroidSkeleton/blob/9a15f3918cf555073d4db31387f31d24722c74f0/app/build.gradle#L74-L80 gives me the printout of:
`[android/databinding/**/*.class, **/android/databinding/*Binding.class, **/BR.*, **/R.class, **/R$*.class, **/BuildConfig.*, **/Manifest*.*, **/*$ViewInjector*.*, **/*_MembersInjector.class, **/Dagger*Component.class, **/Dagger*Component$Builder.class, **/*Module_*Factory.class, **/*$ViewBinder*.*, **/*_MembersInjector*.*, **/*_Factory*.*]`
But in the reports there are still classes which should match with the pattern. For example:
- DeviceInfoSection$$ViewBinder.java
- MainActivity_MembersInjector.java
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.