Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore empty directories for sources (#530)
Empty directories should not matter for source files, so let's ignore them for up-to-date checks as well. This avoids two issues: * Right now, the task will be out-of-date when you add an empty directory to the source folder. There will also be a build cache miss if the only difference between the sources is an empty directory somewhere. * In Gradle 8.0, the task won't skip any more if there are only empty directories in the source folder and no actual files. That is because the behaviour for skipping when empty and up-to-date checking will be more consistent.
- Loading branch information