Skip to content

Commit 985897c

Browse files
authored
Update org.junit.jupiter to v5.12.0 (#1289)
2 parents 7e5fa9d + d6ea4fe commit 985897c

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ subprojects {
117117
apply(plugin = "java")
118118

119119
dependencies {
120+
testImplementation(platform(catalog.junit.bom))
120121
testImplementation(catalog.junit.jupiter.api)
122+
testRuntimeOnly(catalog.junit.platform.launcher)
121123
testRuntimeOnly(catalog.junit.jupiter.engine)
122124
testRuntimeOnly(catalog.apiguardian)
123125
}

gradle/libs.versions.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
kotlin = "2.1.10"
3-
junit = "5.11.4"
3+
junit = "5.12.0"
44

55
[libraries]
66
jdbc-h2 = { module = "com.h2database:h2", version = "2.3.232" }
@@ -13,8 +13,10 @@ jdbc-sqlserver = { module = "com.microsoft.sqlserver:mssql-jdbc", version = "12.
1313
slf4j-api = { module = "org.slf4j:slf4j-api", version = "2.0.16" }
1414
logback-classic = { module = "ch.qos.logback:logback-classic", version = "1.5.16" }
1515

16-
junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" }
17-
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
16+
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
17+
junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api" }
18+
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine" }
19+
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher" }
1820
apiguardian = { module = "org.apiguardian:apiguardian-api", version = "1.1.2" }
1921

2022
testcontainers-bom = { module = "org.testcontainers:testcontainers-bom", version = "1.20.5" }

integration-test-common/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ dependencies {
77
implementation(project(":doma-core"))
88
implementation(project(":doma-slf4j"))
99
implementation(libs.logback.classic)
10+
implementation(platform(libs.junit.bom))
1011
implementation(libs.junit.jupiter.api)
1112
}

0 commit comments

Comments
 (0)