From ef63e06cb7a45cd9c13e50810193cc10d23520f7 Mon Sep 17 00:00:00 2001 From: Sriram Date: Mon, 30 Apr 2018 13:52:36 -0700 Subject: [PATCH] Updated the test task. Signed-off-by: Sriram --- samples/hello-spring-boot/build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/samples/hello-spring-boot/build.gradle.kts b/samples/hello-spring-boot/build.gradle.kts index 5089cf894..7e3db2cbf 100644 --- a/samples/hello-spring-boot/build.gradle.kts +++ b/samples/hello-spring-boot/build.gradle.kts @@ -18,7 +18,9 @@ tasks.withType { } } -(tasks.findByName("test") as Test).useJUnitPlatform() +tasks.withType { + useJUnitPlatform() +} repositories { mavenCentral()