Add opt-in for kotlinx.coroutines annotations

This commit is contained in:
Benoit Marty 2021-10-11 14:27:55 +02:00
parent 6721669d1d
commit f89a32da1f

View file

@ -303,6 +303,10 @@ android {
// Fixes false positive "This is an internal Mavericks API. It is not intended for external use."
// of MvRx `by viewModel()` calls. Maybe due to the inlining of code... This is a temporary fix...
"-Xopt-in=com.airbnb.mvrx.InternalMavericksApi",
// Opt in for kotlinx.coroutines.FlowPreview too
"-Xopt-in=kotlinx.coroutines.FlowPreview",
// Opt in for kotlinx.coroutines.ExperimentalCoroutinesApi too
"-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
]
}