Hello guys 👋
I’m starting to dig into compiler plugins and wonder if there is some documentation about the compiler plugin api? I tried a quick search in google but haven’t found anything similar to docs. Does it exist?
Thanks!
h
Hanno
08/29/2020, 11:08 AM
No, doesn't exist :) and wont exist before compiler plugins are official api, which they arent yet. There are some Tutorials and example projects, and of course arrow meta
Oh, thanks. I thought those APIs are official since I think I’ve seen something on the internet. So, compose team creating compose compiler plugin kinda blindly?
h
Hanno
08/29/2020, 12:02 PM
In Corporation with jetbrains, probably helping them designing and stabilizing the future public api :)
There's a project by google and arrow meta that wrap the unstable compiler api with a facade so that plugin authors using that libs is a little bit more safe.
a
Alireza Ahmadi
08/31/2020, 3:02 PM
I was searching for the same thing few month ago, this open source sample helped me a lot
https://github.com/hadilq/trackable-compiler-plugin
There isn't clear documentation anywhere! You need to do lots of try and error to make it work.