This message was deleted.
# community-support
s
This message was deleted.
e
not relevant. they're only enabled with the compiler option
-Xcontext-receivers
and aren't ABI stable yet
j
I can't use them to build Gradle plugins right now because Gradle is not using 1.6.21
e
and you can't use them to build Gradle plugins after Gradle uses Kotlin 1.6.21 either, is what I mean
j
When Gradle starts to use 1.6.21, I can use them and they should work same if I was in a normal project?
Okay, looks like Gradle 7.5 should use Kotlin 1.6.21 but RC is already published and it is still using 1.6.10 I think
So maybe it has been delayed to 7.6 or 8.0?
e
I don't know, but even with 1.6.21 it won't be usable
j
Why? There are use cases where they works without issues
e
https://blog.jetbrains.com/kotlin/2022/02/kotlin-1-6-20-m1-released/
Please note that the implementation is a prototype:
• With
-Xcontext-receivers
enabled, the compiler will produce pre-release binaries that cannot be used in production code.
if you build a Gradle plugin with context receivers, it will not work anywhere else
🥲 1
👍 1