Talaiot
Talaiot copied to clipboard
Updating Gradle configuration doesn't update values in Talaiot report
👋 hi there, I think I located an issue in the plugin related to configuration cache.
Actual behavior
When setting a new value of Gradle configuration, like org.gradle.workers.max
or org.gradle.configureondemand
and running a build that has a configuration cache, Talaiot report shows old values.
Expected behavior
Report from Talaiot always shows correct values of Gradle configuration options.
Here is the reproduction https://github.com/cdsap/Talaiot/compare/master...wzieba:Talaiot:configuration_cache_issue?expand=1
It seems that when a project uses a configuration cache, the values taken from Gradle#startParameters
(or maybe other places as well) are not updated.
Unfortunately, it might not be possible to fix: https://discuss.gradle.org/t/is-there-a-way-to-get-up-to-date-gradle-start-parameters-with-configuration-cache/47806
Maybe there could be a warning logged somewhere or in the README?
good idea, will update the readme. Thanks for checking this