Is there a there a typesafe approach to enabling e...
# gradle
z
Is there a there a typesafe approach to enabling experimental compiler options such as context-receivers and expect-actual-classe as opposed to modifying the compiler args list
g
No. And it's a problem of Kotlin Plugin, it was discussed here and on Kotlin Issue tracker, but I'm not sure that task about it exists I would argue that experimental flags always must be added to plugin if compiler inludes them, it makes a lot easier to use and find them
Ô׼ 1
t
Task exists: https://youtrack.jetbrains.com/issue/KT-61035/Expose-experimental-compiler-arguments-in-the-Gradle-DSL Though now focus is on the stable compiler options DSL
­čĹŹ 1