John O'Reilly

    John O'Reilly

    2 years ago
    I'm using version
    1.3.8-native-mt-1.4.0-rc
    of kotlinx coroutines....but right now need to use the non
    native-mt
    version for macOs target....in pre-1.4 (before "hierarchical project structure" support I could add appropriate strict version setting in gradle....is there any recommended way to do that now (tried a few options but doesn't seem to work for some reason)?
    Right now I have following in
    commonMain
    (using
    isForce
    to avoid transitive depdendency ktor has to non
    native-mt
    version)
    implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutinesNativeMt}") {
        isForce = true
    }