Skip to content

Commit a246904

Browse files
committed
fix
1 parent fd36e5d commit a246904

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

examples/distro/build.gradle

+4-3
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,11 @@ subprojects {
6969
implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${versions.opentelemetryJavaagentAlpha}"))
7070

7171
testImplementation("org.mockito:mockito-core:5.15.2")
72+
7273
testImplementation(enforcedPlatform("org.junit:junit-bom:${versions.junit}"))
73-
testImplementation("org.junit.jupiter:junit-jupiter-api:${versions.junit}")
74-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${versions.junit}")
75-
testRuntimeOnly("org.junit.platform:junit-platform-launcher:${versions.junit}")
74+
testImplementation("org.junit.jupiter:junit-jupiter-api")
75+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
76+
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
7677
}
7778

7879
tasks {

examples/extension/build.gradle

+4-3
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,10 @@ dependencies {
106106
testImplementation("io.opentelemetry:opentelemetry-api")
107107
testImplementation("io.opentelemetry.proto:opentelemetry-proto:1.5.0-alpha")
108108

109-
testImplementation("org.junit.jupiter:junit-jupiter-api:${versions.junit}")
110-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${versions.junit}")
111-
testRuntimeOnly("org.junit.platform:junit-platform-launcher:${versions.junit}")
109+
testImplementation(enforcedPlatform("org.junit:junit-bom:${versions.junit}"))
110+
testImplementation("org.junit.jupiter:junit-jupiter-api")
111+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
112+
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
112113

113114
testRuntimeOnly("ch.qos.logback:logback-classic:1.5.16")
114115

0 commit comments

Comments
 (0)