From b8a204f4287e8ae30ba237790fdd46abedff57a2 Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Fri, 13 Oct 2023 09:59:03 -0700 Subject: [PATCH] Avoid eagerly creating spotless task in esql:compute project (#100789) --- x-pack/plugin/esql/compute/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/esql/compute/build.gradle b/x-pack/plugin/esql/compute/build.gradle index 0fd5b0064fa7d..1851e2f449da0 100644 --- a/x-pack/plugin/esql/compute/build.gradle +++ b/x-pack/plugin/esql/compute/build.gradle @@ -19,7 +19,7 @@ tasks.named('checkstyleMain').configure { excludes = [ "**/*.java.st" ] } -spotlessJava.dependsOn stringTemplates +tasks.named("spotlessJava") { dependsOn stringTemplates } spotless { java {