Hey, I'm trying out K2 Compiler in my project whic...
# k2-early-adopters
g
Hey, I'm trying out K2 Compiler in my project which also uses kotlin-lombok plugin. As i can see in changelog, K2 supports kotlin-lombok plugin since 1.7.20-Beta version. I updated Kotlin version for both Kotlin and kotlin-lombok plugins, but K2 still shows error if i try to build my project:
Copy code
There are some plugins incompatible with K2 compiler:
  org.jetbrains.kotlin.lombok.LombokComponentRegistrar
Please remove -Xuse-k2
Note that this error is different from error in 1.7.10:
Copy code
e: Compiler plugins are enabled with K2 compiler.
 K2 does not support plugins yet, so please remove -Xuse-k2 flag
Did I forget to update anything?
d
There is a problem with
lombok
and
sam-with-receiver
plugins: it was forgotten to push tiny commit which enables K2 support for them into
1.7.20
branch before beta release So to try it out you need to wait till RC Sorry for inconvenience
c
it would be great if the beta announcement was edited with at information that could keep people from wasting their time trying it.
d
Done