From a63bdaf4e38a74f2b1ad18ae95f798a27b91f7c5 Mon Sep 17 00:00:00 2001 From: Artem Prigoda Date: Fri, 24 Sep 2021 21:34:12 +0200 Subject: [PATCH] [7.x] Fix Gradle integration with Intellij IDEA (#78290) In #76897 the `hadoop-common` module was renamed to `hadoop-client-ide`, but the change wasn't reflected in `elasticsearch.ide.gradle` script. Because of that an IDE import started failing with the `Task with path ':plugins:repository-hdfs:hadoop-common:shadowJar" not found` error. --- build-tools-internal/src/main/groovy/elasticsearch.ide.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools-internal/src/main/groovy/elasticsearch.ide.gradle b/build-tools-internal/src/main/groovy/elasticsearch.ide.gradle index fa6456dfaf5b5..53932fd30a382 100644 --- a/build-tools-internal/src/main/groovy/elasticsearch.ide.gradle +++ b/build-tools-internal/src/main/groovy/elasticsearch.ide.gradle @@ -88,7 +88,7 @@ if (providers.systemProperty('idea.active').forUseAtConfigurationTime().getOrNul tasks.register('buildDependencyArtifacts') { group = 'ide' description = 'Builds artifacts needed as dependency for IDE modules' - dependsOn ':plugins:repository-hdfs:hadoop-common:shadowJar', ':plugins:repository-azure:azure-storage-blob:shadowJar' + dependsOn ':plugins:repository-hdfs:hadoop-client-api:shadowJar', ':plugins:repository-azure:azure-storage-blob:shadowJar' } idea {