From 5a076eb5e67b6815af120d7714e4fe7ea1e53e84 Mon Sep 17 00:00:00 2001 From: Sriram Date: Mon, 30 Apr 2018 13:52:36 -0700 Subject: [PATCH] Updated the test task --- 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()