I've been looking at the task processResources, a Copy type task, defined on the java gradle plugin, to understand what artefacts are being copied during my build process. I'm getting into trouble trying to figure out what other plugins in the Gradle project have (probably) changed in the sourceSets source (from) and destination (into) directories for this task. The plugin's docs aren't clear at what has been changed and I can't even know which plugin is changing what.
To figure out exactly what is being copied, from where and where to, I wonder if there is:
- a verbose debug mode for the
Copytask, which lists each file being copied, including origin and destination;
or (better)
- how to show contents of the processResources task properties:
source,includes,excludesanddestinationDiras they have been (re)defined by any of the installed plugins in my gradle project.
I've already tried gradle processResources -debug but it is not displaying any useful information.
Any Gradle command line or script snippet will be appreciated. BTW, I'm using spring boot and grails gradle plugins.