Hello. I want to make simple annotation processing...
# kotlin-native
a
Hello. I want to make simple annotation processing plugin for K/N.
Copy code
@PrintName("name")
class SomeClass{...}
It must print "name" on build phase. I reviewed tons of articles and examples, spent three days with
<https://github.com/Foso/MpApt>
and achieve nothing. Maybe you can point me to simple working example? I need only K/N, not mpp.
a
hi. try check this: compiler plugin for Kotlin/Native gradle plugin which enable compiler plugin for build process
👍 1
f
Hi @Andrey Gromov i've added an example project with your usecase to MpApt https://github.com/Foso/MpApt/tree/master/nativeDemo
a
Wow! Thank you! 🙂
@Foso The only thing that I missed is overriding of
getNativeCompilerPluginArtifact
🤪