Slackbot
05/18/2022, 9:44 PMZak Taccardi
05/18/2022, 9:45 PMTask
that is affected by this kind of property would not be feasibleVampire
05/19/2022, 6:59 AMValueSource
instead to access the start parameters configuration cache safe. (If "not configuration cache compliant" meant that the value of the cache is used, no matter what the value would be now.)Vampire
05/19/2022, 9:41 AMVampire
05/19/2022, 9:44 AMVampire
05/19/2022, 9:44 AMVampire
05/19/2022, 9:44 AMZak Taccardi
06/28/2022, 6:31 PMProvider<T>
has changed at task execution time, and re-run any affected tasks if neededVampire
06/28/2022, 6:37 PMmy bad. Correct me if I’m wrong - but you’re saying that this code is working as intended. Modifying the start parameter invalidates the config cache causing a re-configuration, which results in correct builds.Correct
My issue is actually that I would want configuration to be skipped in this scenario and Gradle to just understand that the value ofStill not sure what you mean. Any change inhas changed at task execution time, and re-run any affected tasks if neededProvider<T>
-P
commandline arguments will invalidate the configuration cache entry.
And if the value of that provider is a task input the task will rerun.Zak Taccardi
06/28/2022, 6:38 PMZak Taccardi
06/28/2022, 6:38 PM7.4.2
Vampire
06/28/2022, 6:45 PM$ gw --configuration-cache help
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: help
Welcome to Gradle 7.4.2.
Configuration cache entry stored.
$ gw --configuration-cache help
Configuration cache is an incubating feature.
Reusing configuration cache.
Welcome to Gradle 7.4.2.
Configuration cache entry reused.
$ gw --configuration-cache help -P foo=bar
Configuration cache is an incubating feature.
Calculating task graph as configuration cache cannot be reused because the set of Gradle properties has changed.
Welcome to Gradle 7.4.2.
Configuration cache entry stored.
Zak Taccardi
06/28/2022, 6:47 PM7.4.2
Vampire
06/28/2022, 6:52 PM