|
|
@ -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",
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|