I am using experimental multiplatform features fro...
# announcements
m
I am using experimental multiplatform features from Kotlin 1.2.60 and the build is successful only by adding @ExperimentalMultiplatform annotation to every class or function that uses it. Is there a way around this?
m
Cool! Also, how do I add a compiler flag in gradle to common code (all examples are for JVM) like -Xuse-Experimental.
d
@Mohit Gurumukhani something like that:
Copy code
compileTestKotlin {
    kotlinOptions.freeCompilerArgs = ["-Xuse-experimental"]
}