Skip to content

Commit 42ed955

Browse files
committed
feat: update junit to 5.13.4
1 parent fc818d9 commit 42ed955

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ dependencies {
3535

3636
// check
3737
implementation(libs.jspecify)
38-
testImplementation(libs.junit)
38+
testImplementation(platform(libs.junitBom))
39+
testImplementation(libs.junitJupiter)
40+
testRuntimeOnly(libs.junitPlatformLauncher)
3941
}
4042

4143
java {

gradle/libs.versions.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hikaricp = "7.0.2"
1111
jdbi = "3.49.5"
1212
flyway = "9.13.0"
1313
jspecify = "1.0.0"
14-
junit = "5.11.4"
14+
junit = "5.13.4"
1515

1616
[plugins]
1717
shadow = { id = "com.gradleup.shadow", version.ref = "shadow" }
@@ -34,7 +34,9 @@ flywayMysql = { module = "org.flywaydb:flyway-mysql", version.ref = "flyway" }
3434

3535
# check
3636
jspecify = { module = "org.jspecify:jspecify", version.ref = "jspecify" }
37-
junit = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit" }
37+
junitBom = { module = "org.junit.jupiter:junit-bom", version.ref = "junit" }
38+
junitJupiter = { module = "org.junit.jupiter:junit-jupiter" }
39+
junitPlatformLauncher = { module = "org.junit.platform:junit-platform-launcher" }
3840

3941
[bundles]
4042
jdbi = [

0 commit comments

Comments
 (0)