Addressing #138

Apply an `@InputFiles` annotation to the `FileCollection` that ias associated with the `resources` `CopySpec`.

Relies on an internal Gradle API (I have no choice in the matter).