Archived
0

JUnit4 -> JUnit5

This commit is contained in:
2018-10-07 21:31:00 +03:00
parent 7a8a3e6ad4
commit 7225efced9
13 changed files with 175 additions and 161 deletions

View File

@@ -22,6 +22,7 @@ subprojects {
slf4j_version = '1.7.25'
spring_version = '5.1.0.RELEASE'
lombok_version = '1.18.2'
junit_version = '5.3.1'
}
configurations {
@@ -42,12 +43,17 @@ subprojects {
compileOnly (group: 'org.projectlombok', name: 'lombok', version: lombok_version)
/* Testing */
testCompile (group: 'junit', name: 'junit', version: '4.12')
testImplementation (group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: junit_version)
testRuntimeOnly(group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junit_version)
testCompile (group: 'org.slf4j', name: 'slf4j-simple', version: slf4j_version)
testCompile (group: 'org.mockito', name: 'mockito-core', version: '1.10.19')
testCompile (group: 'org.springframework', name: 'spring-test', version: spring_version)
}
test {
useJUnitPlatform()
}
task copyDep(type: Copy) {
into 'libs'
from configurations.compile + configurations.runtime - configurations.compile_excludeCopy