Skip to content

Commit 645c86d

Browse files
committed
gradle
1 parent c2d7a75 commit 645c86d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

instrumentation/aws-sdk/aws-sdk-2.2/library-autoconfigure/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies {
2525
}
2626

2727
tasks {
28-
test {
28+
withType<Test>().configureEach {
2929
systemProperty("otel.instrumentation.aws-sdk.experimental-span-attributes", true)
3030
systemProperty("otel.instrumentation.aws-sdk.experimental-record-individual-http-error", true)
3131
systemProperty("otel.instrumentation.messaging.experimental.capture-headers", "test-message-header")

instrumentation/aws-sdk/aws-sdk-2.2/library/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ testing {
6666
}
6767

6868
tasks {
69-
withType<Test> {
69+
withType<Test>().configureEach {
7070
// NB: If you'd like to change these, there is some cleanup work to be done, as most tests ignore this and
7171
// set the value directly (the "library" does not normally query it, only library-autoconfigure)
7272
systemProperty("otel.instrumentation.aws-sdk.experimental-span-attributes", true)

0 commit comments

Comments
 (0)