How can I debug why `analysisCompleted` in my plug...
# compiler
s
How can I debug why
analysisCompleted
in my plugin isnt getting called for a particular project? Ive confirmed that the plugin is being registered (I can see the correct flags in the compiler cli entrypoint when the breakpoint hits, and the
CommandLineProcessor
is reading the registered flags), the compiler is getting invoked, but the plugin isnt being called. The project has
kotlinOptions.languageVersion = "2.0"
set, with kotlin 1.9. I havent tested with
languageVersion
lowered, as itd require code changes for it to then compile afaik (not my project). Other 1.9 projects work as expected. Is it the
languageVersion
being set, causing legacy plugins to not be invoked?
s
This is K1 extension, it doesn't work with K2
s
Is it the
languageVersion = "2.0"
part specifically that determines this?
s
Yes