File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,15 +16,20 @@ processResources {
1616}
1717
1818dependencies {
19- testImplementation ' org.junit.jupiter:junit-jupiter:5.11.0-M2'
20- testRuntimeOnly ' org.junit.platform:junit-platform-launcher:1.11.0-M2'
19+ // cf. https://docs.gradle.org/current/userguide/platforms.html#sub:bom_import
20+ testImplementation platform(' org.junit:junit-bom:5.11.0' )
21+
22+ // cf. https://docs.gradle.org/current/userguide/java_testing.html#using_junit5
23+ testImplementation ' org.junit.jupiter:junit-jupiter'
24+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
2125}
2226
2327application {
2428 // Define the main class for the application
2529 mainClass = ' CBuilder.ManualTest'
2630}
2731
28- tasks. named(' test' ) {
32+ tasks. named(' test' , Test ) {
33+ // cf. https://docs.gradle.org/current/userguide/java_testing.html#using_junit5
2934 useJUnitPlatform()
3035}
You can’t perform that action at this time.
0 commit comments