Might be a long shot but can I use KSP to generate...
# ksp
m
Might be a long shot but can I use KSP to generate sources that are not added to the current module compilation?
t
you can generate them as resources. Or if you don't care about incremental compilation / processing, you may write them to anywhere without KSP's CodeGenerator API
👍 1
m
Oh so just bypass
codeGenerator.createNewFile
? Makes sense 👍 Thanks!
t
Yes. The drawback is that KSP won't know the association between the outputs and the inputs. You may either 1) disable incremental processing, or 2) have a shadow output (can be empty) that shares the same inputs with the file that is written without KSP's API.
👍 2
thank you color 2