https://kotlinlang.org logo
#compiler
Title
# compiler
a

ansman

04/01/2024, 2:44 PM
If you're creating a new plugin today, what are the latest resources? Most articles are from 2020-2022 and lots has happened since. It seems that some (all?) native plugins have two implements (one for K1 and one for K2). I'm assuming that
FirDeclarationGenerationExtension
is only for K2. If that's the case I'm wondering if it's even worth implementing support for K1 seeing that K2 is around the corner
That seems to be a great start for FIR plugins at least
And I've confirmed FIR is for K2 only.
j

Javier

04/01/2024, 3:05 PM
As 2.0.0 is almost released, I wouldn’t expend time in K1
a

ansman

04/01/2024, 3:05 PM
Yeah that's my conclusion too
j

Javier

04/01/2024, 3:05 PM
Those docs link to samples using all extensions
plus that template
a

ansman

04/01/2024, 3:08 PM
Thanks, this is super helpful!
🙂 1
3 Views