Skip to content

Commit cfd097b

Browse files
committed
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
2 parents 9ae2448 + 5d18c56 commit cfd097b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

samples/junit5/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ buildscript {
44
}
55
dependencies {
66
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE'
7-
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.1'
87
}
98
}
109

@@ -16,7 +15,6 @@ apply plugin: 'java'
1615
apply plugin: 'org.springframework.boot'
1716
apply plugin: 'eclipse'
1817
apply plugin: 'io.spring.dependency-management'
19-
apply plugin: 'org.junit.platform.gradle.plugin'
2018

2119
repositories {
2220
mavenLocal()
@@ -50,6 +48,7 @@ dependencies {
5048

5149
test {
5250
outputs.dir snippetsDir
51+
useJUnitPlatform()
5352
}
5453

5554
asciidoctor {

0 commit comments

Comments
 (0)