Skip to content

Commit 838a1e3

Browse files
author
Jeel Mehta
committed
Testing the same dependencies with both compileOnly and testImplementation
1 parent 85d21b9 commit 838a1e3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

exporters/aws-otel-otlp-udp-exporter/build.gradle.kts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ version = "0.1.0"
2424

2525
dependencies {
2626
implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:2.10.0"))
27-
implementation("io.opentelemetry:opentelemetry-api")
28-
implementation("io.opentelemetry:opentelemetry-sdk")
29-
implementation("io.opentelemetry:opentelemetry-exporter-otlp-common")
27+
compileOnly("io.opentelemetry:opentelemetry-api")
28+
compileOnly("io.opentelemetry:opentelemetry-sdk")
29+
compileOnly("io.opentelemetry:opentelemetry-exporter-otlp-common")
30+
testImplementation("io.opentelemetry:opentelemetry-api")
31+
testImplementation("io.opentelemetry:opentelemetry-sdk")
32+
testImplementation("io.opentelemetry:opentelemetry-exporter-otlp-common")
3033
compileOnly("com.google.code.findbugs:jsr305:3.0.2")
3134
testImplementation(platform("org.junit:junit-bom:5.9.2"))
3235
testImplementation("org.junit.jupiter:junit-jupiter-api")

0 commit comments

Comments
 (0)