Directory pattern ** doesn't work in Gradle 1.11

For example:

jar {
 include 'dir/**/*'
}

should match all files and directories in dir, but only matches 1 level deep.

I’ve been able to reproduce this (works as intended with 1.10, doesn’t work with 1.11). Raised GRADLE-3032. Thanks for the report!