@@ -12,10 +12,10 @@ dependencies {
12
12
implementation group : ' javax.validation' , name : ' validation-api' , version : ' 2.0.0.Final'
13
13
implementation group : ' org.slf4j' , name : ' slf4j-api' , version : ' 1.7.25'
14
14
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'
19
19
20
20
// testImplementation group: 'org.mockito', name: 'mockito-core', version: '3.5.13'
21
21
29
29
}
30
30
31
31
test {
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()
35
35
}
0 commit comments