Oliver.O
04/22/2022, 6:01 PMOliver.O
04/22/2022, 6:03 PMcodeGenerator.createNewFile(
dependencies = Dependencies(aggregating = true),
// ...
).use { output ->
// ...
}
followed by
codeGenerator.associateWithClasses(
classes = sourceClassDeclarations,
// ...
)
the correct way to do it?
2. For aggregating dependencies, is it correct to assume that the deletion of a source file will only trigger KSP processing if that source file is from the list of dependencies?
3. Is preventing KSP re-processing when deleting a source non-dependency the only optimization available for aggregating dependencies (as any new file or changing any existing file – dependency or not – must always trigger KSP)?Ting-Yuan Huang
04/22/2022, 7:44 PMOliver.O
04/22/2022, 7:56 PM