Skip to content

Commit 98bb103

Browse files
committed
Add BuildConfig to the default set of Jacoco excludes
1 parent 18244fe commit 98bb103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android-junit5/src/main/groovy/de/mannodermaus/gradle/plugins/junit5/AndroidJUnitPlatformExtension.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class AndroidJUnitPlatformExtension extends JUnitPlatformExtension {
207207
private final Report xml
208208

209209
@NonNull
210-
public List<String> excludedClasses = ["**/R.class", '**/R$*.class']
210+
public List<String> excludedClasses = ["**/R.class", '**/R$*.class', "**/BuildConfig.*"]
211211

212212
@NonNull
213213
public List<String> excludedSources = []

0 commit comments

Comments
 (0)