Polishing
This commit is contained in:
10
README.adoc
10
README.adoc
@@ -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:
|
||||
|
||||
24
build.gradle
24
build.gradle
@@ -51,19 +51,19 @@ test {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile('org.springframework.boot:spring-boot-starter-data-jpa')
|
||||
compile('org.springframework.boot:spring-boot-starter-web')
|
||||
compile('org.springframework.boot:spring-boot-starter-mustache')
|
||||
compile('com.fasterxml.jackson.module:jackson-module-kotlin')
|
||||
compile('org.jetbrains.kotlin:kotlin-stdlib-jdk8')
|
||||
compile('org.jetbrains.kotlin:kotlin-reflect')
|
||||
runtime('com.h2database:h2')
|
||||
kapt('org.springframework.boot:spring-boot-configuration-processor')
|
||||
testCompile('org.springframework.boot:spring-boot-starter-test') {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-mustache'
|
||||
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin'
|
||||
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
|
||||
implementation 'org.jetbrains.kotlin:kotlin-reflect'
|
||||
runtime 'com.h2database:h2'
|
||||
kapt 'org.springframework.boot:spring-boot-configuration-processor'
|
||||
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
||||
exclude module: 'junit'
|
||||
exclude module: 'mockito-core'
|
||||
}
|
||||
testImplementation('org.junit.jupiter:junit-jupiter-api')
|
||||
testRuntimeOnly('org.junit.jupiter:junit-jupiter-engine')
|
||||
testImplementation('com.ninja-squad:springmockk:1.1.0')
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api'
|
||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
|
||||
testImplementation 'com.ninja-squad:springmockk:1.1.0'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user