Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @DisableCachingByDefault as hint why outputs are not cached #1666

Merged
merged 5 commits into from
Apr 6, 2023

Conversation

skuzzle
Copy link
Contributor

@skuzzle skuzzle commented Apr 6, 2023

The @DisableCachingByDefault annotation (JavaDoc) will make it easier to determine why this task was not cached when inspecting a Build Scan.

Without this annotation, a gradle Build Scan will only show a generic message:
image

With the annotation, the Build Scan will show a more useful hint as to why this task was not cached:

image

@nedtwigg
Copy link
Member

nedtwigg commented Apr 6, 2023

Thanks!

@nedtwigg
Copy link
Member

nedtwigg commented Apr 6, 2023

If you disagree with the changes I made above, please let me know.

@nedtwigg nedtwigg enabled auto-merge April 6, 2023 21:37
@nedtwigg nedtwigg merged commit 88abf9a into diffplug:main Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants