From 1f89cf76f515c326853852e98a530c4a3372e174 Mon Sep 17 00:00:00 2001 From: Rene Groeschke Date: Thu, 21 Jan 2021 11:53:47 +0100 Subject: [PATCH] Fix old task api usage (#67653) (#67717) - fix old task api usage sneaked back in to the build in rolling-upgrade-basic project --- x-pack/qa/rolling-upgrade-basic/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/qa/rolling-upgrade-basic/build.gradle b/x-pack/qa/rolling-upgrade-basic/build.gradle index 8123a28e8a49e..f417fa38f654b 100644 --- a/x-pack/qa/rolling-upgrade-basic/build.gradle +++ b/x-pack/qa/rolling-upgrade-basic/build.gradle @@ -89,6 +89,6 @@ for (Version bwcVersion : BuildParams.bwcVersions.wireCompatible) { tasks.withType(Test).configureEach { onlyIf { BuildParams.inFipsJvm == false} } -tasks.getByName("testingConventions") { +tasks.named("testingConventions").configure { onlyIf { BuildParams.inFipsJvm == false } }