Set explicit duplicatesStrategy for all Copy and Archive Gradle tasks (#1643)
Set explicit duplicatesStrategy for all Copy and Archive Gradle tasks (#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
elastic/elasticsearch-hadoop,elastic/elasticsearch-hadoop