Is there a way to run kapt to process annotations over sources that are compiled and evaluated with JSR-223 ? We are having to provide separate helpers in Arrow docs for model classes that require kapt and annotations because we have not yet found a way to have kapt run on regular code snippets.
i
ilya.chernikov
03/15/2019, 4:07 PM
For a moment there is no direct support for it. I created an issue - https://youtrack.jetbrains.com/issue/KT-30465, so if you have some motivational example, please add it there.
There is a chance that it is very easy to support, and you can even try it yourself by making your own version of
KotlinJsr223JvmLocalScriptEngine
class. If you are willing to try it, I’ll be glad to provide you further info.
👍 1
r
raulraja
03/16/2019, 1:07 PM
Thanks @ilya.chernikov we will look into it with a custom version of the script engine and if we can figure it out I'll report back in the issue