Adam
05/25/2024, 9:36 AMclang <file> -MM
to discover the file's dependencies too.)
I thought that using an incremental task input would be a good fit, but there's a problem: If compilation fails on the last file, and then I fix it and re-run the compile task, then Gradle won't realise that it should only recompile the last file. @Incremental
doesn't 'remember' anything if the previous execution failed.
Is there a way of incrementally compiling, even if the previous result failed?Vampire
05/25/2024, 9:47 AM