Robert Munro

    Robert Munro

    8 months ago
    i am trying to opt-in for
    @ExperimentalTime
    in my multi-platform module - but the following doesnt work :
    sourceSets {
        all {
            languageSettings.optIn("kotlin.time.ExperimentalTime")
        }
    }
    languageSettings
    cant be found
    languageSettings.optIn("kotlin.time.ExperimentalTime")
                       ^ Unresolved reference: languageSettings
    anyine know what am i missing? this seems to be exactly as per the documentation page https://kotlinlang.org/docs/opt-in-requirements.html#module-wide-opt-in i'm updating to
    1.6.10
    Javier

    Javier

    8 months ago
    this is working for me