jthurne edited a comment on pull request #10490: URL: https://github.com/apache/kafka/pull/10490#issuecomment-815069751
> Does the clean task delete the local caches or not? `clean` does not delete the local build cache. > If not, how would one force cache deletion in case of a bug? It's best to address bugs like those by finding the offending task and fixing it to properly declare it's inputs and outputs (or if the issue is with a third-party plugin, to file a bug report against the plugin). But in a pinch, you can pass `--rerun-tasks` to instruct Gradle to skip the cache and up-to-date checks. If a cache entry has been corrupted, this will also tell Gradle to overwrite the cache entry with the new task output. However, these types of issues are quite rare. It is also best to avoid training users to use `--rerun-tasks` (as it eliminates all of the incremental build and build cache benefits). For these reasons, I'm somewhat hesitant to update the README. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
