ben-manes / gradle-versions-plugin

Gradle plugin to discover dependency updates
Apache License 2.0
3.82k stars 199 forks source link

Configuration cache problems because of using Project object in task #777

Closed WebTiger89 closed 1 year ago

WebTiger89 commented 1 year ago

Hi, just wanted to report that when running the depedencyUpdates Task, I get those warnings:

663 problems were found storing the configuration cache, 9 of which seem unique.

I'm not sure when it started to occur. I updated Android Studio to Hedgedog and AGP to 8.2.0-alpha02.

ben-manes commented 1 year ago

The configuration cache is very noisy and warns when nothing is wrong. This plugin's task calls notCompatibleWithConfigurationCache to inform Gradle that the task is not compatible and not use the cache for that execution. This is what their docs recommend, but as they work through making this cache stable they decided to be very noisy about any incompatibility regardless whether the cache is in use or not. I expect in 8.3 or so it will be quiet again as the team gets confidence in this feature. You can run with -q or --quiet to suppress this spam.

WebTiger89 commented 1 year ago

ok sounds legit, then I will wait. If you don't see any need for action on this you can close it :)