Skip to content

Commit 7ca4e3d

Browse files
renovate[bot]trask
andauthored
fix(deps): update junit5 monorepo to v5.12.0 (minor) (#13372)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Trask Stalnaker <[email protected]>
1 parent 94e7291 commit 7ca4e3d

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

benchmark-overhead/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repositories {
1616
}
1717

1818
dependencies {
19-
implementation(enforcedPlatform("org.junit:junit-bom:5.11.4"))
19+
implementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
2020

2121
testImplementation("org.testcontainers:testcontainers:1.20.5")
2222
testImplementation("org.testcontainers:postgresql:1.20.5")

conventions/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ dependencies {
7171
implementation("net.ltgt.gradle:gradle-nullaway-plugin:2.2.0")
7272
implementation("me.champeau.gradle:japicmp-gradle-plugin:0.4.6")
7373

74-
testImplementation(enforcedPlatform("org.junit:junit-bom:5.11.4"))
74+
testImplementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
7575
testImplementation("org.junit.jupiter:junit-jupiter-api")
7676
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
7777
testImplementation("org.assertj:assertj-core:3.27.3")

dependencyManagement/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ val CORE_DEPENDENCIES = listOf(
8181
// There are dependencies included here that appear to have no usages, but are maintained at
8282
// this top level to help consistently satisfy large numbers of transitive dependencies.
8383
val DEPENDENCIES = listOf(
84-
"org.junit.jupiter:junit-jupiter-api:5.11.4",
84+
"org.junit.jupiter:junit-jupiter-api:5.12.0",
8585
"org.spockframework:spock-core:2.4-M5-groovy-4.0",
8686
"org.spockframework:spock-junit4:2.4-M5-groovy-4.0",
8787

examples/distro/build.gradle

+6-5
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ subprojects {
3333
opentelemetryJavaagent : "2.14.0-SNAPSHOT",
3434
opentelemetryJavaagentAlpha: "2.14.0-alpha-SNAPSHOT",
3535

36-
autoservice : "1.1.1",
37-
junit : "5.11.4"
36+
autoservice : "1.1.1"
3837
]
3938

4039
deps = [
@@ -69,9 +68,11 @@ subprojects {
6968
implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${versions.opentelemetryJavaagentAlpha}"))
7069

7170
testImplementation("org.mockito:mockito-core:5.15.2")
72-
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}")
71+
72+
testImplementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
73+
testImplementation("org.junit.jupiter:junit-jupiter-api")
74+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
75+
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
7576
}
7677

7778
tasks {

examples/extension/build.gradle

+6-5
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ ext {
2727

2828
// these lines are managed by .github/scripts/update-version.sh
2929
opentelemetryJavaagent : "2.14.0-SNAPSHOT",
30-
opentelemetryJavaagentAlpha: "2.14.0-alpha-SNAPSHOT",
31-
32-
junit : "5.11.4"
30+
opentelemetryJavaagentAlpha: "2.14.0-alpha-SNAPSHOT"
3331
]
3432

3533
deps = [
@@ -106,8 +104,11 @@ dependencies {
106104
testImplementation("io.opentelemetry:opentelemetry-api")
107105
testImplementation("io.opentelemetry.proto:opentelemetry-proto:1.5.0-alpha")
108106

109-
testImplementation("org.junit.jupiter:junit-jupiter-api:${versions.junit}")
110-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${versions.junit}")
107+
testImplementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
108+
testImplementation("org.junit.jupiter:junit-jupiter-api")
109+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
110+
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
111+
111112
testRuntimeOnly("ch.qos.logback:logback-classic:1.5.16")
112113

113114
//Otel Java instrumentation that we use and extend during integration tests

gradle-plugins/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ dependencies {
4444

4545
testImplementation("org.assertj:assertj-core:3.27.3")
4646

47-
testImplementation(enforcedPlatform("org.junit:junit-bom:5.11.4"))
47+
testImplementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
4848
testImplementation("org.junit.jupiter:junit-jupiter-api")
49-
testImplementation("org.junit.jupiter:junit-jupiter-params")
5049
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
50+
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
5151
}
5252

5353
tasks {

0 commit comments

Comments
 (0)