We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a4ec439 + 8bb92b1 commit c0ba97eCopy full SHA for c0ba97e
build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/KotlinAndroid.kt
@@ -88,6 +88,9 @@ private fun Project.configureKotlin() {
88
allWarningsAsErrors = warningsAsErrors.toBoolean()
89
freeCompilerArgs = freeCompilerArgs + listOf(
90
"-opt-in=kotlin.RequiresOptIn",
91
+ // Enable experimental coroutines APIs, including Flow
92
+ "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
93
+ "-opt-in=kotlinx.coroutines.FlowPreview",
94
)
95
}
96
0 commit comments