ysb33r
04/07/2025, 4:50 PMSync
task.
Let's say I have a Sync
task with destination folder build/gitPublications/main
and I have a preserve
block with include '.git/**
What I found is if there is no .gradle
project cache folder present and I execute that task it will delete the build/gitPublications/main
folder even if there is content in build/gitPublications/main/.git
saying that Deleting stale output file: /path/to/build/gitPublications/main
.
Even if build
folder is deleted (gradle clean). then next it will behave correctly. It is only when .gradle
is not present. Anyone ever seen this?Laura Kassovic
04/08/2025, 8:08 PM