@@ -12,10 +12,10 @@ dependencies {
1212 implementation group : ' javax.validation' , name : ' validation-api' , version : ' 2.0.0.Final'
1313 implementation group : ' org.slf4j' , name : ' slf4j-api' , version : ' 1.7.25'
1414
15- // To use JUnit5 , comment out junit4 and uncomment JUnit5 dependencies here. Please also check "test" section
16- testImplementation group : ' junit' , name : ' junit' , version : ' 4.13.1'
17- // testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: '5.7.0'
18- // testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.7.0'
15+ // To use JUnit4 , comment out JUnit5 and uncomment JUnit4 dependencies here. Please also check "test" section
16+ // testImplementation group: 'junit', name: 'junit', version: '4.13.1'
17+ testImplementation group : ' org.junit.jupiter' , name : ' junit-jupiter-params' , version : ' 5.7.0'
18+ testImplementation group : ' org.junit.jupiter' , name : ' junit-jupiter-engine' , version : ' 5.7.0'
1919
2020// testImplementation group: 'org.mockito', name: 'mockito-core', version: '3.5.13'
2121
2929}
3030
3131test {
32- // To use JUnit5 , comment out useJUnit and uncomment useJUnitPlatform . Please also check "dependencies" section
33- useJUnit()
34- // useJUnitPlatform()
32+ // To use JUnit4 , comment out useJUnitPlatform and uncomment useJUnit . Please also check "dependencies" section
33+ // useJUnit()
34+ useJUnitPlatform()
3535}
0 commit comments