[K/N][test] Add ExperimentalNativeApi opt-in in the samples
This commit is contained in:
committed by
Space Team
parent
7b3f1c73ca
commit
7cb0875bd8
@@ -23,7 +23,8 @@ allprojects {
|
|||||||
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile>().configureEach {
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile>().configureEach {
|
||||||
compilerOptions.freeCompilerArgs.addAll(
|
compilerOptions.freeCompilerArgs.addAll(
|
||||||
"-XXLanguage:+ImplicitSignedToUnsignedIntegerConversion",
|
"-XXLanguage:+ImplicitSignedToUnsignedIntegerConversion",
|
||||||
"-opt-in=kotlinx.cinterop.ExperimentalForeignApi"
|
"-opt-in=kotlinx.cinterop.ExperimentalForeignApi",
|
||||||
|
"-opt-in=kotlin.experimental.ExperimentalNativeApi"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user