Copy action skips '#' directory on copy in Gradle 2.11+

We found an apparent regression in copy actions. With Gradle 2.11, or 2.12, a path that has a directory named ‘#’ (in this case, it’s a npm module directory) is no longer makes it into packages in our packing plugin:

Thanks. I reproduced this with 2.11 and master. I raised this as GRADLE-3418

It has something to do with the way we handle Ant default excludes. As a workaround, you can remove the offending Ant default exclude:

org.apache.tools.ant.DirectoryScanner.removeDefaultExclude("**/#*#")

But this needs a proper fix on our side.

Great, thanks for the quick response Sterling!

This has been fixed as reflected in GRADLE-3418 and should be part of the next release.