From 6e6f3589dc604fe872d8c872022ef64590144133 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jan 2024 15:44:22 +0100 Subject: [PATCH] build: bump org.mockito:mockito-core from 5.5.0 to 5.10.0 (#101) * build: bump org.mockito:mockito-core from 5.5.0 to 5.10.0 Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.5.0 to 5.10.0. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.5.0...v5.10.0) --- updated-dependencies: - dependency-name: org.mockito:mockito-core dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * use version catalog --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sylvain Juge <763082+SylvainJuge@users.noreply.github.com> --- build.gradle | 4 ++-- gradle/libs.versions.toml | 3 +++ testing-common/build.gradle.kts | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 61b9b428..14d0fa13 100644 --- a/build.gradle +++ b/build.gradle @@ -66,9 +66,9 @@ subprojects { implementation(platform(catalog.opentelemetryInstrumentationBom)) implementation(platform(catalog.opentelemetryInstrumentationAlphaBom)) - testImplementation("org.mockito:mockito-core:5.5.0") + testImplementation(catalog.mockito) - testImplementation(enforcedPlatform("org.junit:junit-bom:" + catalog.versions.junit.get().toString())) + testImplementation(enforcedPlatform(catalog.junitBom)) testImplementation("org.junit.jupiter:junit-jupiter") } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index cab238bc..662b8041 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -43,6 +43,9 @@ testcontainers = "org.testcontainers:testcontainers:1.19.4" logback = "ch.qos.logback:logback-classic:1.4.14" jackson = "com.fasterxml.jackson.core:jackson-databind:2.16.1" protobuf-util = "com.google.protobuf:protobuf-java-util:3.25.2" +mockito = "org.mockito:mockito-core:5.10.0" + +junitBom = { group = "org.junit", name = "junit-bom", version.ref = "junit" } spotlessPlugin = { group = "com.diffplug.spotless", name = "spotless-plugin-gradle", version.ref = "spotless" } diff --git a/testing-common/build.gradle.kts b/testing-common/build.gradle.kts index cb992eae..e2dc1bbd 100644 --- a/testing-common/build.gradle.kts +++ b/testing-common/build.gradle.kts @@ -9,7 +9,7 @@ dependencies { implementation(libs.assertj.core) implementation("io.opentelemetry:opentelemetry-sdk-testing") implementation("io.opentelemetry:opentelemetry-exporter-logging") - implementation(enforcedPlatform("org.junit:junit-bom:" + catalog.versions.junit.get())) + implementation(enforcedPlatform(catalog.junitBom)) implementation("org.junit.jupiter:junit-jupiter") compileOnly(libs.findbugs.jsr305)