From 3be0589e14968e4346a0f3f72046065988eae866 Mon Sep 17 00:00:00 2001 From: Ndiritu Date: Wed, 2 Oct 2024 18:37:21 +0300 Subject: [PATCH] fix jacoco exclusions --- .../src/main/kotlin/com/devmike/gitissuesmobile/Jacoco.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build-logic/convention/src/main/kotlin/com/devmike/gitissuesmobile/Jacoco.kt b/build-logic/convention/src/main/kotlin/com/devmike/gitissuesmobile/Jacoco.kt index d85aa23..52c637d 100644 --- a/build-logic/convention/src/main/kotlin/com/devmike/gitissuesmobile/Jacoco.kt +++ b/build-logic/convention/src/main/kotlin/com/devmike/gitissuesmobile/Jacoco.kt @@ -25,6 +25,14 @@ private val coverageExclusions = "**/Manifest*.*", "**/*_Hilt*.class", "**/Hilt_*.class", + "**/*Binding*.*", + "**/di/**", // Exclude DI folders + "**/*_Impl.java", // Exclude Room generated classes + "**/Generated*.class", + "**/*_Impl.class", + "**/Generated*.class", // Exclude Apollo generated classes + "**/*Database$*", + "**/*Database_*", ) private fun String.capitalize() =