Creating External Builder (based on ClassProcessingBuilder) ... for Kotlin and Java

Hi,

So I am working on an External Builder based on ClassProcessingBuilder and it is working great for Java. It does bytecode enhancement (for an ORM). However I want it to also perform the enhancement on Kotlin compiled classes.

I have notice that my external Builder isn't being invoked as part of the Kotlin compilation.  I have log messages going to `build.log` and `idea.log`.

I suspect there is something else / different I need to do. Reading another post it seems like I need my BuilderService to register/return a TargetBuilder for Kotlin.  Is that right?  Any pointers or examples?

Thanks, Rob.

 

0

Please sign in to leave a comment.