Hi all. I need to keep the “.git” folders in the test resources because I’m actually testing git operations against a local repository. Gradle, though, is ignoring them, problably because of the global excludes. I know how to make this work using maven, but I’m new to Gradle and need some guidance. How would I do this? I would like to do something similar of the snippet below:
<executions>
<execution>
<id>additional-resources</id>
<phase>process-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/src/test/resources</directory>
</resource>
</resources>
<addDefaultExcludes>false</addDefaultExcludes>
</configuration>
</execution>
</executions>