Skip to content

Commit c69b298

Browse files
authored
Merge pull request #1458 from pdkovacs/fix-gradle-junit5-config
Fix JUnit 5 config for gradle
2 parents 1ed042e + d868887 commit c69b298

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,9 @@ publishing {
3737
dependencies {
3838
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.15'
3939
testImplementation group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.15'
40-
testImplementation group: 'org.junit', name: 'junit-bom', version: '5.11.4', ext: 'pom'
40+
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.11.4'
41+
}
42+
43+
test {
44+
useJUnitPlatform() // This is required for JUnit 5
4145
}

0 commit comments

Comments
 (0)