From a070c302fc211045229f6a4b82568ac2e1528cc4 Mon Sep 17 00:00:00 2001 From: Brandon Fergerson Date: Sat, 30 Sep 2023 13:12:53 -0500 Subject: [PATCH] build: update for current gradle --- boot/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/build.gradle.kts b/boot/build.gradle.kts index 1ad2f707..e25f4b0f 100644 --- a/boot/build.gradle.kts +++ b/boot/build.gradle.kts @@ -93,7 +93,7 @@ tasks.test { //todo: should have way to distinguish tests that just need platform and tests that attach to self val isIntegrationProfile = System.getProperty("test.profile") == "integration" - val runningSpecificTests = gradle.startParameter.taskNames.contains("--tests") + val runningSpecificTests = gradle.startParameter.taskRequests.isNotEmpty() //exclude attaching probe to self unless requested if (isIntegrationProfile || runningSpecificTests) {