tony
05/26/2022, 11:48 PMenableFeaturePreview "STABLE_CONFIGURATION_CACHE"
as well (in an experimental branch)Mikhail Lopatkin
05/27/2022, 9:20 AMbackground
block for this? It is possible to achieve what you want now with a buildFinished block, but it has obvious performance cost.Gabriel Feo
05/27/2022, 3:52 PMbuildScan.background
blocks to log custom values out of external processes with no problem so far (on 7.4). This was a suggestion from Gradle support a few months backtony
05/31/2022, 7:03 PMbackground
for several of these. Are you saying Gradle wouldn't warn if I used buildFinished
instead?
I can confirm that many of the warnings go away if I use buildFinished
insteadMikhail Lopatkin
05/31/2022, 7:09 PMbuildFinished
happens way after the configuration phase, and the configuration cache stops tracking inputs at the end of the configuration phase.tony
05/31/2022, 7:10 PMMikhail Lopatkin
05/31/2022, 7:14 PMtony
05/31/2022, 7:21 PMenter
on the command line, to the build finishing. If the configuration phase is skipped due to CC, that's fine.
We started doing this when we observed how hot our mac book pros would get during builds and were looking to correlate that with build performance