Revert "Remove `ExperimentalCoroutinesApi` and `FlowPreview` opt-in"

pull/1837/head
Simon Marquis 2 years ago committed by GitHub
parent 70f0bbcf02
commit a68b544da5

@ -88,6 +88,9 @@ private fun Project.configureKotlin() {
allWarningsAsErrors = warningsAsErrors.toBoolean() allWarningsAsErrors = warningsAsErrors.toBoolean()
freeCompilerArgs = freeCompilerArgs + listOf( freeCompilerArgs = freeCompilerArgs + listOf(
"-opt-in=kotlin.RequiresOptIn", "-opt-in=kotlin.RequiresOptIn",
// Enable experimental coroutines APIs, including Flow
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
"-opt-in=kotlinx.coroutines.FlowPreview",
) )
} }
} }

Loading…
Cancel
Save