After upgrade to Gradle 6.3 I started to see number of the following warning (for different paths):
> Task :processFuncTestResources
Copying or archiving duplicate paths with the default duplicates strategy has been deprecated.
This is scheduled to be removed in Gradle 7.0. Duplicate path:
"testProjects/junit5simple/src/test/java/pitest/test/LibraryJUnit5Test.java".
Explicitly set the duplicates strategy to 'DuplicatesStrategy.INCLUDE' if you want to allow duplicate paths.
Consult the upgrading guide for further information: https://docs.gradle.org/6.3/userguide/upgrading_version_5.html#implicit_duplicate_strategy_for_copy_or_archive_tasks_has_been_deprecated
Copying or archiving duplicate paths with the default duplicates strategy has been deprecated.
This is scheduled to be removed in Gradle 7.0. Duplicate path:
"testProjects/junit5simple/src/main/java/pitest/test/Library.java".
Explicitly set the duplicates strategy to 'DuplicatesStrategy.INCLUDE' if you want to allow duplicate paths.
Consult the upgrading guide for further information: https://docs.gradle.org/6.3/userguide/upgrading_version_5.html#implicit_duplicate_strategy_for_copy_or_archive_tasks_has_been_deprecated
...
I don’t use copy or zip tasks explicitly. I’m not sure why those files in funcTest resources are considered as duplicated.
My funcTest sourceDirs configuration (and some lines below):
The content on the resources dir with some sample projects:
How to avoid those warnings?