Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Gradle integration with Intellij IDEA #78290

Merged
merged 1 commit into from
Sep 24, 2021

Conversation

arteam
Copy link
Contributor

@arteam arteam commented Sep 24, 2021

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.

Fix the import by setting the correct module name in the buildDependencyArtifacts task.

In elastic#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.

Fix the import by setting the correct module name in the `buildDependencyArtifacts` task.
@arteam arteam added v8.0.0 Team:Delivery Meta label for Delivery team labels Sep 24, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

@arteam arteam added :Delivery/Build Build or test infrastructure :Delivery/Tooling Developer tooliing and automation >non-issue and removed :Delivery/Build Build or test infrastructure labels Sep 24, 2021
@arteam
Copy link
Contributor Author

arteam commented Sep 24, 2021

Thanks, Rory!

@arteam arteam merged commit 4b995cb into elastic:master Sep 24, 2021
@arteam arteam deleted the fix-gradle-integration-ide branch September 24, 2021 19:34
@arteam arteam added the auto-backport Automatically create backport pull requests when merged label Oct 11, 2021
@arteam arteam restored the fix-gradle-integration-ide branch October 11, 2021 08:54
@arteam arteam deleted the fix-gradle-integration-ide branch October 11, 2021 08:56
@arteam arteam removed the auto-backport Automatically create backport pull requests when merged label Oct 11, 2021
arteam added a commit to arteam/elasticsearch that referenced this pull request Oct 11, 2021
In elastic#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.
arteam added a commit that referenced this pull request Oct 11, 2021
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Tooling Developer tooliing and automation >non-issue Team:Delivery Meta label for Delivery team v8.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants