I have a file
src/main/resources/file.txt in a sub-project
yyy. The unit test code uses
PathMatchingResourcePatternResolver().getResources("classpath*:file.txt") to locate the resource.
With Maven this call returned a single resource. However, with Gradle (6.6RC1 at the moment) I get two resources:
As in the GitHub issue mentioned below, the
classpath*: is part of the problem.
Why does this file appear twice on the (test) classpath when using