Skip to content

Commit 232abcc

Browse files
Bump junit from 5.9.2 to 5.13.4 (#536)
* Bump junit from 5.9.2 to 5.13.4 Bumps `junit` from 5.9.2 to 5.13.4. Updates `org.junit.jupiter:junit-jupiter-engine` from 5.9.2 to 5.13.4 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](junit-team/junit-framework@r5.9.2...r5.13.4) Updates `org.junit.jupiter:junit-jupiter-params` from 5.9.2 to 5.13.4 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](junit-team/junit-framework@r5.9.2...r5.13.4) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter-engine dependency-version: 5.13.4 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.junit.jupiter:junit-jupiter-params dependency-version: 5.13.4 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * add junit-platform-launcher dependency it's required now --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ohad Shai <[email protected]>
1 parent 5b0cab1 commit 232abcc

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ kotlin {
5353
dependencies {
5454
// Compile against the main compilation's compile classpath and outputs:
5555
implementation(main.compileDependencyFiles + main.output.classesDirs)
56-
implementation(kotlin("test-junit"))
5756
}
5857
}
5958
val logbackTest = tasks.register<Test>("logbackTest") {
@@ -146,8 +145,10 @@ kotlin {
146145
val jvmLogbackTest by getting {
147146
dependencies {
148147
implementation(kotlin("test"))
148+
implementation(project.dependencies.enforcedPlatform(libs.junit.bom))
149149
implementation(libs.junit.jupiter.engine)
150150
implementation(libs.junit.jupiter.params)
151+
implementation(libs.junit.platform.launcher)
151152
implementation(libs.mockito.core)
152153
implementation(libs.slf4j.api)
153154
implementation(libs.logback.classic)
@@ -159,6 +160,7 @@ kotlin {
159160
val jvmTest by getting {
160161
dependencies {
161162
implementation(kotlin("test"))
163+
implementation(project.dependencies.enforcedPlatform(libs.junit.bom))
162164
implementation(libs.junit.jupiter.engine)
163165
implementation(libs.junit.jupiter.params)
164166
implementation(libs.mockito.core)
@@ -184,6 +186,7 @@ kotlin {
184186
val androidUnitTest by getting {
185187
dependencies {
186188
implementation(kotlin("test"))
189+
implementation(project.dependencies.enforcedPlatform(libs.junit.bom))
187190
implementation(libs.junit.jupiter.engine)
188191
implementation(libs.junit.jupiter.params)
189192
implementation(libs.mockito.core)

gradle/libs.versions.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ slf4j = "2.0.17"
1010
logback = "1.5.18"
1111
logstash-logback-encoder = "8.1"
1212
coroutines = "1.10.2"
13-
junit = "5.9.2"
13+
junit = "5.13.4"
1414
mockito = "5.18.0"
1515
jackson = "2.19.2"
1616
log4j = "2.25.1"
@@ -32,8 +32,10 @@ kotlinx-coroutines-slf4j = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-
3232
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
3333
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
3434

35-
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
36-
junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "junit" }
35+
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
36+
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine" }
37+
junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params" }
38+
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher" }
3739

3840
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockito" }
3941

0 commit comments

Comments
 (0)