Skip to content

Commit fbe3233

Browse files
committed
Remove deprecated ResourceAttributes, SemanticAttributes
1 parent 72523f0 commit fbe3233

File tree

3 files changed

+3
-6153
lines changed

3 files changed

+3
-6153
lines changed

buildSrc/src/main/kotlin/otel.japicmp-conventions.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ if (!project.hasProperty("otel.release")) {
109109

110110
// this is needed so that we only consider the current artifact, and not dependencies
111111
ignoreMissingClasses.set(true)
112+
// TODO: remove exclusions after first stable release
113+
classExcludes.add("io.opentelemetry.semconv.ResourceAttributes")
114+
classExcludes.add("io.opentelemetry.semconv.SemanticAttributes")
112115
val baseVersionString = if (apiBaseVersion == null) "latest" else baselineVersion
113116
txtOutputFile.set(
114117
apiNewVersion?.let { file("$rootDir/docs/apidiffs/${apiNewVersion}_vs_$baselineVersion/${base.archivesName.get()}.txt") }

0 commit comments

Comments
 (0)