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

Revert "Remove `ExperimentalCoroutinesApi` and `FlowPreview` opt-in"
pull/792/head
Don Turner 1 year ago committed by GitHub
commit c0ba97e170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save