Skip to content

Commit 502f9ed

Browse files
authored
Remove ExperimentalCoroutinesApi and FlowPreview opt-in
``` > Task :core:model:compileKotlin w: Opt-in requirement marker kotlinx.coroutines.ExperimentalCoroutinesApi is unresolved. Please make sure it's present in the module dependencies w: Opt-in requirement marker kotlinx.coroutines.FlowPreview is unresolved. Please make sure it's present in the module dependencies ```
1 parent 0c84570 commit 502f9ed

File tree

1 file changed

+0
-3
lines changed
  • build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid

1 file changed

+0
-3
lines changed

build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/KotlinAndroid.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ private fun Project.configureKotlin() {
9292
allWarningsAsErrors = warningsAsErrors.toBoolean()
9393
freeCompilerArgs = freeCompilerArgs + listOf(
9494
"-opt-in=kotlin.RequiresOptIn",
95-
// Enable experimental coroutines APIs, including Flow
96-
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
97-
"-opt-in=kotlinx.coroutines.FlowPreview",
9895
)
9996
}
10097
}

0 commit comments

Comments
 (0)