Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

gradle - Incremental Builds - Determining Inputs/Outputs in Existing Tasks

I'm trying to determine inputs and outputs of previously written custom tasks on a very large project, so that I can formally define them for incremental building. My understanding is that if I formally define them as inputs and outputs, then their last modified time stamps will be checked on build, to determine if they need to be rebuilt (if no changes since last build, they're skipped to save time).

Am I correct in my understanding of how this works, in general? And what should I be looking for to determine inputs and outputs? There are many instances of "copy from " "into "; it seems that those would be good candidates for inputs (the former) and outputs (the latter)? I've read the Gradle docs on this but think I could use a little advice from the masses. Thanks, all.

question from:https://stackoverflow.com/questions/65835016/incremental-builds-determining-inputs-outputs-in-existing-tasks

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...