Polishing

This commit is contained in:
Sebastien Deleuze
2019-02-18 13:33:41 +01:00
parent d2730f6fc4
commit 40cb35ba46
2 changed files with 17 additions and 17 deletions

View File

@@ -377,11 +377,11 @@ Then exclude `junit` from `spring-boot-starter-test` transitive dependencies and
[source,groovy]
----
dependencies {
testCompile('org.springframework.boot:spring-boot-starter-test') {
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude module: 'junit'
}
testImplementation('org.junit.jupiter:junit-jupiter-api')
testRuntimeOnly('org.junit.jupiter:junit-jupiter-engine')
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
----
@@ -857,11 +857,11 @@ With Gradle:
[source,groovy]
----
testCompile('org.springframework.boot:spring-boot-starter-test') {
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude module: 'junit'
exclude module: 'mockito-core'
}
testImplementation('com.ninja-squad:springmockk:1.1.0')
testImplementation 'com.ninja-squad:springmockk:1.1.0'
----
Or with Maven: