Hello! I want to use ExperimentalStdlibApi. But co...
# announcements
p
Hello! I want to use ExperimentalStdlibApi. But compiler ask me mark each usage with this annotation. Is it possible to set some option in multiplatform gradle to allow usage of experemental api without annotating own functions that use it?
d
Yes
Copy code
kotlin { 
   sourceSets.forEach { it.languageFeatures.useExperimentalAnnotation("kotlin.ExperimentalStdlibApi")
}
}
Something like that
p
Thank you!