diff --git a/spring-boot-project/spring-boot-cli/build.gradle b/spring-boot-project/spring-boot-cli/build.gradle index 8d4935320eb..a00e3cdb6ab 100644 --- a/spring-boot-project/spring-boot-cli/build.gradle +++ b/spring-boot-project/spring-boot-cli/build.gradle @@ -98,7 +98,6 @@ sourceSets { test { dependsOn syncTestRepository - useJUnitPlatform() } task fullJar(type: Jar) { diff --git a/spring-boot-project/spring-boot-test/build.gradle b/spring-boot-project/spring-boot-test/build.gradle index f12d5b1be8b..e4644be9def 100644 --- a/spring-boot-project/spring-boot-test/build.gradle +++ b/spring-boot-project/spring-boot-test/build.gradle @@ -56,6 +56,3 @@ dependencies { testRuntimeOnly("org.junit.vintage:junit-vintage-engine") } -test { - useJUnitPlatform() -}