Closed samhill303 closed 4 years ago
If we add the compiler flag for experimental coroutines we can remove the annotations everywhere we use it.
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { kotlinOptions { freeCompilerArgs += ["-Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi"] } }
If we add the compiler flag for experimental coroutines we can remove the annotations everywhere we use it.