Skip to content

Conversation

@breskeby
Copy link
Contributor

Gradle 7.0 changed the default duplicates Strategy to error when duplicates for
a copy or archive operations are detected. This leads to the build to fail
as the elasticsearch hadoop project relied on ignoring duplicates. With this change
we set the duplicatesStrategy for every related task to EXCLUDE

This unblocks the unified release process that currently fails with an error caused by
duplicates entries for javadocJar.

Gradle 7.0 changed the default duplicates Strategy to error when duplicates for
a copy or archive operations are detected. This leads to the build to fail
as the elasticsearch hadoop project relied on ignoring duplicates. With this change
we set the duplicatesStrategy for every related task to EXCLUDE
@breskeby breskeby requested a review from jbaiera April 14, 2021 07:26
@breskeby breskeby merged commit 0212048 into elastic:master Apr 14, 2021
breskeby added a commit that referenced this pull request Apr 15, 2021
…#1643)

Gradle 7.0 changed the default duplicates Strategy to error when duplicates for
a copy or archive operations are detected. This leads to the build to fail
as the elasticsearch hadoop project relied on ignoring duplicates. With this change
we set the duplicatesStrategy for every related task to EXCLUDE
Copy link
Member

@jbaiera jbaiera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants