mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-21 17:05:39 +03:00
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...
This commit is contained in:
parent
6dd0de6123
commit
6721669d1d
1 changed files with 6 additions and 0 deletions
|
@ -298,6 +298,12 @@ android {
|
|||
|
||||
kotlinOptions {
|
||||
jvmTarget = "11"
|
||||
freeCompilerArgs += [
|
||||
"-Xopt-in=kotlin.RequiresOptIn",
|
||||
// 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",
|
||||
]
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
|
Loading…
Reference in a new issue