-
Notifications
You must be signed in to change notification settings - Fork 160
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
ktlint check tasks should be cacheable #67
Comments
This is generally a hard problem given the API that Gradle exposes. |
I think there is no reason to make |
The check task is now cacheable since #90 has been merged. |
@wolfs Thank you for the great work! |
Closing this as @wolfs implemented it. |
The ktlint check tasks created by this plugin don't have any output registered, so they are never up to date and cannot be cached by the Gradle build cache.
The report files generated by those tasks should be registered as outputs and the task marked as cacheable.
Other tasks contributed by this plugin might be good candidates for build cache too, I just didn't look at them closely.
The text was updated successfully, but these errors were encountered: