Hi I get this warning > Task :myapp:features:o...
# coroutines
u
Hi I get this warning
Task myappfeaturesothercompileDebugKotlin
w: Opt-in requirement marker kotlinx.coroutines.ExperimentalCoroutinesApi is unresolved. Please make sure it's present in the module dependencies even though I add this in root build.gradle
Copy code
allprojects {
    tasks.withType(org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile).configureEach { task ->
        task.kotlinOptions {
            jvmTarget = "1.8"
            freeCompilerArgs += "-Xopt-in=kotlin.ExperimentalStdlibApi"
            freeCompilerArgs += "-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi"
        }
    }
}
Why is that? Is it maybe because the featuresother module is
com.android.library
?