I have a compiler plugin which writes some additio...
# k2-adopters
d
I have a compiler plugin which writes some additional output to a file once the compilation is completed, which to do, I need a hook to know when to close the file. In
ComponentRegistrar
, I've done this by registering a service in the
Project
which implements
Disposable
, and handling it in
dispose
. Is there a place where I can do this after migrating to
CompilerPluginRegistrar
?
d
Hm, that's a quite interesting case Could you report a feature-request for the new extension point for such callbacks to kotl.in/issue? So we consider adding some proper API for that And for now as a workaround it's fine to keep using
ComponentRegistrar
d
Will do, thanks!
For posterity: KT-59555
d
Thank you!