-
Notifications
You must be signed in to change notification settings - Fork 27
Up-to-date checks for tasks #120
Comments
I'm planning to create an Pull Request with Gradle tests around up-to-date check. Maybe even later around cacheability. |
That's great! Detekt's plugin is being re-written and I hope it'll get proper up-to-date and cacheability support. PMD incrementality is not supported yet I think, I had seen something on Gradle's own issue tracker about it some time ago (PMD loudly complains about it every time). Lint's incrementality might depend on the version of AGP and thus Lint itself. |
Yes, I would start investigating on Detekt once the new plugin is released. For Lint, I'm almost sure that it is not gonna be possible for quite some time. Even with the upcoming AGP versions. Not sure when they are planning to do this. If I can find a issue link, will post here. |
Lint will be rewritten soon probably, but so far is not cacheable or incremental and it can't be without rethinking how it works completely. |
Confirmed that the new version of Gotta check how to make |
@tasomaniac it will be easy to make them cacheable if we tackle #43 I also would consider to change the violations evaluator to be more customisable ( |
I have been using the plugin more and more in a big multi-module codebase. Some tasks have proper up-to-date checks but some not.
I can come up with a list with more details but from what I observe,
ktlint
andcheckstyle
has up-to-date support on task level.lint
,findbugs
anddetekt
do not. I'm not sure aboutPMD
Having proper up-to-date support will drastically improve multi-module
evaluateViolations
task speed.Opening this issue to track this behavior and ask your opinion.
The text was updated successfully, but these errors were encountered: