Skip to content

Commit fc74eaa

Browse files
authored
Support WithSpan inheritContext attribute (#8858)
* Support WithSpan inheritContext attribute * Factorize tests and add gradle lock
1 parent 8e7b515 commit fc74eaa

File tree

5 files changed

+340
-121
lines changed

5 files changed

+340
-121
lines changed

dd-java-agent/instrumentation/opentelemetry/opentelemetry-annotations-1.20/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ muzzle {
1010

1111
apply from: "$rootDir/gradle/java.gradle"
1212

13-
addTestSuiteForDir('latestDepTest', 'test')
13+
addTestSuite('latestDepTest')
14+
addTestSuiteForDir('latest1xDepTest', 'test')
1415

1516
dependencies {
1617
compileOnly group: 'io.opentelemetry', name: 'opentelemetry-api', version: openTelemetryVersion
@@ -19,5 +20,7 @@ dependencies {
1920

2021
testImplementation group: 'io.opentelemetry', name: 'opentelemetry-api', version: openTelemetryVersion
2122
testImplementation group: 'io.opentelemetry.instrumentation', name: 'opentelemetry-instrumentation-annotations', version: openTelemetryVersion
22-
latestDepTestImplementation group: 'io.opentelemetry.instrumentation', name: 'opentelemetry-instrumentation-annotations', version: '1+'
23+
latest1xDepTestImplementation group: 'io.opentelemetry.instrumentation', name: 'opentelemetry-instrumentation-annotations', version: '1+'
24+
latestDepTestImplementation group: 'io.opentelemetry.instrumentation', name: 'opentelemetry-instrumentation-annotations', version: '+'
25+
latestDepTestImplementation sourceSets.test.output
2326
}

0 commit comments

Comments
 (0)