If you are using kotlin multiplatform, a simpler/more idiomatic way to enable the RequiresOptIn annotation is:
kotlin.sourceSets.all {
languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn")
}
If you are using kotlin multiplatform, a simpler/more idiomatic way to enable the RequiresOptIn annotation is:
kotlin.sourceSets.all {
languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn")
}