Exclude SemanticAttributes from coverage. (#2303)

This commit is contained in:
Anuraag Agrawal 2020-12-16 01:43:43 +09:00 committed by GitHub
parent c108f62158
commit 36062bf4b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ tasks.named('jacocoTestReport', JacocoReport) {
!it.absolutePath.contains("/internal/shaded/") &&
!it.absolutePath.contains("io/opentelemetry/proto/") &&
!it.absolutePath.contains("io/opentelemetry/exporter/jaeger/proto/") &&
!it.absolutePath.contains("io/opentelemetry/sdk/extension/trace/jaeger/proto/")
!it.absolutePath.contains("io/opentelemetry/sdk/extension/trace/jaeger/proto/") &&
!it.absolutePath.contains("io/opentelemetry/api/trace/attributes/SemanticAttributes")
})
}
additionalSourceDirs(sourcesPath.incoming.artifactView { lenient(true) }.files)