File tree Expand file tree Collapse file tree
junit4-and-5-maven-sample Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 <scope >test</scope >
3737 </dependency >
3838 <dependency >
39- <groupId >junit</groupId >
40- <artifactId >junit</artifactId >
41- <version >${junit4.version} </version >
39+ <groupId >org.junit.vintage</groupId >
40+ <artifactId >junit-vintage-engine</artifactId >
4241 <scope >test</scope >
4342 </dependency >
4443 <dependency >
45- <groupId >org.junit.vintage</groupId >
46- <artifactId >junit-vintage-engine</artifactId >
44+ <groupId >junit</groupId >
45+ <artifactId >junit</artifactId >
46+ <version >${junit4.version} </version >
4747 <scope >test</scope >
4848 </dependency >
4949 </dependencies >
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ repositories {
1717}
1818
1919dependencies {
20- testImplementation ' org.junit.jupiter:junit-jupiter:5.9.2'
20+ testImplementation(platform(' org.junit:junit-bom:5.9.2' ))
21+ testImplementation ' org.junit.jupiter:junit-jupiter'
2122}
2223
2324tasks. named(' test' ) {
You can’t perform that action at this time.
0 commit comments