Hello What can be changed with `BroadcastChannel`...
# announcements
o
Hello What can be changed with
BroadcastChannel
? Now it is marked as
experimental
g
Correct, all Channels API is experimental
You can enable it explicitly for whole project
o
How can I do this except
@Experimental...
annotation?
g
Something like this:
Copy code
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
        kotlinOptions {
            freeCompilerArgs += [
                    '-Xexperimental=your.Annotation',
            ]
        }
    }
your.Annotation is annotation which you want to enable
in this case it will be
kotlinx.coroutines.ExperimentalCoroutinesApi
o
I see, thank you