and trying to pull the plugin jar from it. I chose this naive approach to simplify the prototype, but it seems like a bad idea now. Any suggestion on how to apply a compiler plugin in the correct way?
b
bnorm
11/07/2024, 3:20 PM
If you want to go the manual route, and your plugin doesn't require any arguments, there's a Gradle configuration available for compiler plugins:
kotlinCompilerPluginClasspath
. Otherwise the recommendation would be to create a Gradle plugin from which you can also specify any input you need for your plugin in an idiomatic way.
g
genovich
11/07/2024, 3:24 PM
Oh, that's great! It is working on js configuration as well!