Merge pull request #576 from Paul-Christian Volkmer
* gh-576: Update JUnit 5 sample to use Gradle's native JUnit 5 support Closes gh-576
This commit is contained in:
@@ -4,7 +4,6 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE'
|
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE'
|
||||||
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.1'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -16,7 +15,6 @@ apply plugin: 'java'
|
|||||||
apply plugin: 'org.springframework.boot'
|
apply plugin: 'org.springframework.boot'
|
||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
apply plugin: 'org.junit.platform.gradle.plugin'
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
@@ -50,6 +48,7 @@ dependencies {
|
|||||||
|
|
||||||
test {
|
test {
|
||||||
outputs.dir snippetsDir
|
outputs.dir snippetsDir
|
||||||
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
|
|
||||||
asciidoctor {
|
asciidoctor {
|
||||||
|
|||||||
Reference in New Issue
Block a user