We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4b0d0e commit 3926e86Copy full SHA for 3926e86
1 file changed
instrumentation/armeria/armeria-grpc-1.14/javaagent/build.gradle.kts
@@ -76,6 +76,20 @@ tasks {
76
}
77
78
79
+tasks {
80
+ val testStableSemconv by registering(Test::class) {
81
+ testClassesDirs = sourceSets.test.get().output.classesDirs
82
+ classpath = sourceSets.test.get().runtimeClasspath
83
+
84
+ jvmArgs("-Dotel.semconv-stability.opt-in=rpc")
85
+ systemProperty("metadataConfig", "otel.semconv-stability.opt-in=rpc")
86
+ }
87
88
+ check {
89
+ dependsOn(testStableSemconv)
90
91
+}
92
93
if (findProperty("denyUnsafe") as Boolean) {
94
tasks.withType<Test>().configureEach {
95
enabled = false
0 commit comments