Merge pull request #784 from SimonMarquis/revert-758-patch-5

Revert "Remove `ExperimentalCoroutinesApi` and `FlowPreview` opt-in"
pull/1837/head
Don Turner 2 years ago committed by GitHub
commit 5248f8bea7

@ -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