-
Notifications
You must be signed in to change notification settings - Fork 52
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
Disable caching on kover artifact tasks #637
Disable caching on kover artifact tasks #637
Conversation
@@ -19,7 +19,6 @@ import javax.inject.* | |||
* | |||
* This artifact that will be shared between projects through dependencies for creating merged reports. | |||
*/ | |||
@CacheableTask |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's specify @DisableCachingByDefault
instead of @CacheableTask
@@ -19,7 +19,6 @@ import javax.inject.* | |||
* | |||
* This artifact that will be shared between projects through dependencies for creating merged reports. | |||
*/ | |||
@CacheableTask |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, please, rerun all tests after this change, e.g. BuildCacheRelocationTests
must fall.
Caching should ony be enabled for tasks that do heavy computations and this task does not do so.
5911cf6
to
8ca086b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Fixes #633
Alternative solution to #636
Caching should only be enabled for tasks that do heavy computations and this task does not do so.
Potentially it would be good to merge both PRs, even if caching is disabled, we should make sure that data that is used to produce an output is declared as an import.