Skip to content

Commit 4485904

Browse files
author
Anuraag Agrawal
authored
Exclude AutoValue generated classes from code coverage. (#2335)
1 parent ccd8b1b commit 4485904

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

all/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ tasks.named('jacocoTestReport', JacocoReport) {
5656
!it.absolutePath.contains("io/opentelemetry/proto/") &&
5757
!it.absolutePath.contains("io/opentelemetry/exporter/jaeger/proto/") &&
5858
!it.absolutePath.contains("io/opentelemetry/sdk/extension/trace/jaeger/proto/") &&
59-
!it.absolutePath.contains("io/opentelemetry/api/trace/attributes/SemanticAttributes")
59+
!it.absolutePath.contains("io/opentelemetry/api/trace/attributes/SemanticAttributes") &&
60+
!it.absolutePath.contains("AutoValue_")
6061
})
6162
}
6263
additionalSourceDirs(sourcesPath.incoming.artifactView { lenient(true) }.files)

0 commit comments

Comments
 (0)