Wojciech Zięba
02/20/2024, 5:50 PMDependencies
I set aggregating=true
, then “the output should be invalidated by a new source file or a change in any of the existing files”. If so, is there a point of setting originatingFiles
in such case, or originatingFiles
only makes sense if aggregating=false
?David Rawson
02/20/2024, 6:15 PMaggregating = true
there is still an optimization available to you if you are careful about originating files. The optimization is for the case where files that are not registered inputs are deletedDavid Rawson
02/20/2024, 6:15 PMDavid Rawson
02/20/2024, 6:18 PMFascinating.kt
represent registration of inputs using originating files for an aggregating outputWojciech Zięba
02/20/2024, 6:23 PMDavid Rawson
02/20/2024, 6:26 PMD.kt
could introduce a change that would affect the aggregating output Fascinating.kt
that would cause reprocessing. For instance, by adding the annotation of interest.David Rawson
02/20/2024, 6:27 PMWojciech Zięba
02/20/2024, 6:30 PMEditingSo it’s not any change, but some certain type of change, like adding annotations of interest, do I read it right? E.g. adding other changes, like adding a constructor withcould introduce a change that would affect the aggregating outputD.kt
that would cause reprocessing.Fascinating.kt
println
there might not cause reprocessing?David Rawson
02/20/2024, 6:36 PMDavid Rawson
02/20/2024, 6:39 PMprintln
and so on)Wojciech Zięba
02/20/2024, 6:42 PMDavid Rawson
02/20/2024, 6:44 PM