mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Coverage: ignore more generated/non-prod code
This commit is contained in:
@@ -158,10 +158,13 @@ koverMerged {
|
|||||||
"anvil.hint.merge.*",
|
"anvil.hint.merge.*",
|
||||||
"anvil.module.*",
|
"anvil.module.*",
|
||||||
"com.airbnb.android.showkase*",
|
"com.airbnb.android.showkase*",
|
||||||
|
"io.element.android.libraries.designsystem.showkase.*",
|
||||||
"*_Factory",
|
"*_Factory",
|
||||||
"*_Factory$*",
|
"*_Factory$*",
|
||||||
"*_Module",
|
"*_Module",
|
||||||
"*_Module$*",
|
"*_Module$*",
|
||||||
|
"*Module_Provides*",
|
||||||
|
"Dagger*Component*",
|
||||||
"*ComposableSingletons$*",
|
"*ComposableSingletons$*",
|
||||||
"*_AssistedFactory_Impl*",
|
"*_AssistedFactory_Impl*",
|
||||||
"*BuildConfig",
|
"*BuildConfig",
|
||||||
@@ -175,6 +178,25 @@ koverMerged {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
annotations {
|
||||||
|
excludes.addAll(
|
||||||
|
listOf(
|
||||||
|
"*Preview",
|
||||||
|
)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
projects {
|
||||||
|
excludes.addAll(
|
||||||
|
listOf(
|
||||||
|
":anvilannotations",
|
||||||
|
":anvilcodegen",
|
||||||
|
":samples:minimal",
|
||||||
|
":tests:testutils",
|
||||||
|
)
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run ./gradlew koverMergedVerify to check the rules.
|
// Run ./gradlew koverMergedVerify to check the rules.
|
||||||
|
|||||||
Reference in New Issue
Block a user