How to pass Kapt compiler arguments
Passing kapt argument with gradle build script is pretty straight forward
kapt {
arguments {
arg("codegen.output", "path.to.file")
}
}
Although I read through the documentation of kapt and kotlin, downloaded the source code for the kotlin plugin and kapt plugin and looked inside, I was not successful to find a way to do this programmatically via a gradle plugin.
Is there a way to do it? is this even possible?
Thanks in advance.