How to generate android resource (xml) files by using Kotlin KSP
I'm working on a custom generator to generate code from annotation on Android platform. I currently using KSP for code generating. After I generate the code, I need to generate some resource xml files, What shall I do for it?
I considered some points:
There are official way to generate resource file in build.gradle, but because the content of the resource is derived from the annotation so I can't move the generator code to build.gradle.
Another way is move the generator code to build.gradle...