app: enable kotlinx.coroutines.ExperimentalCoroutinesApi for entire module

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-09-23 22:14:20 +05:30
parent 22abaa15c2
commit 590bd2dfd8
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 6 additions and 6 deletions

View file

@ -44,7 +44,12 @@ android {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
freeCompilerArgs += ["-Xallow-jvm-ir-dependencies", "-Xskip-prerelease-check", "-Xopt-in=kotlin.RequiresOptIn"]
freeCompilerArgs += [
"-Xallow-jvm-ir-dependencies",
"-Xskip-prerelease-check",
"-Xopt-in=kotlin.RequiresOptIn",
"-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
]
}
}