Can kover be configured to exclude all generated c...
# code-coverage
l
Can kover be configured to exclude all generated classes under
build
directories?
👀 1
p
I don't think is taking that into account
l
Then how can I exclude e.g. the
*FragmentDirections
and
*FragmentArgs
classes?
This doesn't help:
Copy code
filters {
        classes {
            excludes.addAll(
                listOf(
                    "*Fragment",
                    "*Fragment\$*",
                    "*FragmentDirections",
                    "*FragmentArgs",
                    "*Activity",
                    "*Activity\$*",
                    "*BuildConfig",
                )
            )
        }
j
are they not internal?
l
What do you mean by "internal"?
j
I think that should work
l
This is the report I get
j
check the rules maybe I am missing something
l
No, they are public
image.png
The weird thing is, my rules above seem to work for
Fragment
but not for
FragmentArgs
or
Directions
566 Views