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 <trask.stalnaker@gmail.com>
This commit is contained in:
renovate[bot] 2025-02-24 07:50:06 -08:00 committed by GitHub
parent 94e7291e55
commit 7ca4e3deca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 17 additions and 15 deletions

View File

@ -16,7 +16,7 @@ repositories {
} }
dependencies { dependencies {
implementation(enforcedPlatform("org.junit:junit-bom:5.11.4")) implementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
testImplementation("org.testcontainers:testcontainers:1.20.5") testImplementation("org.testcontainers:testcontainers:1.20.5")
testImplementation("org.testcontainers:postgresql:1.20.5") testImplementation("org.testcontainers:postgresql:1.20.5")

View File

@ -71,7 +71,7 @@ dependencies {
implementation("net.ltgt.gradle:gradle-nullaway-plugin:2.2.0") implementation("net.ltgt.gradle:gradle-nullaway-plugin:2.2.0")
implementation("me.champeau.gradle:japicmp-gradle-plugin:0.4.6") implementation("me.champeau.gradle:japicmp-gradle-plugin:0.4.6")
testImplementation(enforcedPlatform("org.junit:junit-bom:5.11.4")) testImplementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
testImplementation("org.junit.jupiter:junit-jupiter-api") testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.assertj:assertj-core:3.27.3") testImplementation("org.assertj:assertj-core:3.27.3")

View File

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

View File

@ -33,8 +33,7 @@ subprojects {
opentelemetryJavaagent : "2.14.0-SNAPSHOT", opentelemetryJavaagent : "2.14.0-SNAPSHOT",
opentelemetryJavaagentAlpha: "2.14.0-alpha-SNAPSHOT", opentelemetryJavaagentAlpha: "2.14.0-alpha-SNAPSHOT",
autoservice : "1.1.1", autoservice : "1.1.1"
junit : "5.11.4"
] ]
deps = [ deps = [
@ -69,9 +68,11 @@ subprojects {
implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${versions.opentelemetryJavaagentAlpha}")) implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${versions.opentelemetryJavaagentAlpha}"))
testImplementation("org.mockito:mockito-core:5.15.2") testImplementation("org.mockito:mockito-core:5.15.2")
testImplementation(enforcedPlatform("org.junit:junit-bom:${versions.junit}"))
testImplementation("org.junit.jupiter:junit-jupiter-api:${versions.junit}") testImplementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${versions.junit}") testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
} }
tasks { tasks {

View File

@ -27,9 +27,7 @@ ext {
// these lines are managed by .github/scripts/update-version.sh // these lines are managed by .github/scripts/update-version.sh
opentelemetryJavaagent : "2.14.0-SNAPSHOT", opentelemetryJavaagent : "2.14.0-SNAPSHOT",
opentelemetryJavaagentAlpha: "2.14.0-alpha-SNAPSHOT", opentelemetryJavaagentAlpha: "2.14.0-alpha-SNAPSHOT"
junit : "5.11.4"
] ]
deps = [ deps = [
@ -106,8 +104,11 @@ dependencies {
testImplementation("io.opentelemetry:opentelemetry-api") testImplementation("io.opentelemetry:opentelemetry-api")
testImplementation("io.opentelemetry.proto:opentelemetry-proto:1.5.0-alpha") testImplementation("io.opentelemetry.proto:opentelemetry-proto:1.5.0-alpha")
testImplementation("org.junit.jupiter:junit-jupiter-api:${versions.junit}") testImplementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${versions.junit}") testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("ch.qos.logback:logback-classic:1.5.16") testRuntimeOnly("ch.qos.logback:logback-classic:1.5.16")
//Otel Java instrumentation that we use and extend during integration tests //Otel Java instrumentation that we use and extend during integration tests

View File

@ -44,10 +44,10 @@ dependencies {
testImplementation("org.assertj:assertj-core:3.27.3") testImplementation("org.assertj:assertj-core:3.27.3")
testImplementation(enforcedPlatform("org.junit:junit-bom:5.11.4")) testImplementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
testImplementation("org.junit.jupiter:junit-jupiter-api") testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
} }
tasks { tasks {