From 1bbeef3aad52e0c9669cf65b6fa723ea56792d24 Mon Sep 17 00:00:00 2001 From: Jimin Kim <0305jimin@gmail.com> Date: Wed, 29 May 2024 20:22:32 +0200 Subject: [PATCH] Revert "Fix: deleting `.named('test')` near tasks in build.gradle" This reverts commit 5283a88ff82fa1db56baae2e3acad289c06cf1f6. Fixing: Could not find method useJUnitPlatform() for arguments [] on task ':tasks' of type org.gradle.api.tasks.diagnostics.TaskReportTask. --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 1c8f84a..a47241f 100644 --- a/build.gradle +++ b/build.gradle @@ -37,6 +37,6 @@ dependencies { testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } -tasks { +tasks.named('test') { useJUnitPlatform() -} \ No newline at end of file +}