Skip to content

Commit 68af292

Browse files
authored
Merge pull request #915 from vlsi/junit512
chore: bump junit to 5.12
2 parents 68af75a + 46d35fd commit 68af292

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

build-logic/jvm/src/main/kotlin/build-logic.test-junit5.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ plugins {
66
dependencies {
77
testImplementation("org.junit.jupiter:junit-jupiter-api")
88
testImplementation("org.junit.jupiter:junit-jupiter-params")
9+
testRuntimeOnly("org.junit.platform:junit-platform-launcher") {
10+
because("It is needed for junit in runtime, see https://github.com/junit-team/junit5/issues/4335#issuecomment-2676780444")
11+
}
912
testImplementation("org.assertj:assertj-core")
1013
}
1114

sigstore-java/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ dependencies {
4545
implementation("com.google.oauth-client:google-oauth-client-java6")
4646

4747
testImplementation(project(":sigstore-testkit"))
48-
testImplementation(platform("org.junit:junit-bom:5.11.4"))
49-
testImplementation("org.junit.jupiter:junit-jupiter")
48+
testImplementation(platform("org.junit:junit-bom:5.12.0"))
5049

5150
testImplementation(platform("org.mockito:mockito-bom:5.14.2"))
5251
testImplementation("org.mockito:mockito-core")

sigstore-testkit/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies {
1111

1212
// This is different from typical "testImplementation" dependencies, because
1313
// testkit exposes junit5 dependencies in its API (e.g. annotations)
14-
api(platform("org.junit:junit-bom:5.11.4"))
14+
api(platform("org.junit:junit-bom:5.12.0"))
1515
api("org.junit.jupiter:junit-jupiter-api")
1616
api("org.junit.jupiter:junit-jupiter-params")
1717
implementation("org.junit.jupiter:junit-jupiter")

0 commit comments

Comments
 (0)