Addressing issue
resulted in changes in this code:
|
return getMode(copySpec, "getDirPermissions", copySpec::getDirMode); |
The problem with the change is that it should call the fallback code (the old API methods, like copySpec::getDirMode and copySpec::getFileMode) also via reflection, because as it is now, we are unabled to remove them (they've been deprecated for a while now in Gradle).
We intend to do the removal in Gradle 9, which is in the near future and this would completely prevent us from doing so.