File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,5 @@ POM_DEVELOPER_URL=https://touchlab.co/
2727kotlin.mpp.enableCInteropCommonization =true
2828kotlin.mpp.commonizerLogLevel =info
2929kotlin.mpp.applyDefaultHierarchyTemplate =false
30+ kotlin.native.cacheKind.macosArm64 =none
31+ kotlin.native.cacheKind.iosSimulatorArm64 =none
Original file line number Diff line number Diff line change @@ -26,6 +26,12 @@ fun configInterop(target: org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTar
2626 HostManager .hostIsMingw -> listOf (" -linker-options" , " -lsqlite3 -Lc:\\ msys64\\ mingw64\\ lib" )
2727 else -> listOf (" -linker-options" , " -lsqlite3" )
2828 }
29+ kotlinNativeCompilation.kotlinOptions.freeCompilerArgs + = listOf (
30+ " -opt-in=kotlin.experimental.ExperimentalNativeApi" ,
31+ " -opt-in=kotlinx.cinterop.ExperimentalForeignApi" ,
32+ " -opt-in=kotlinx.cinterop.BetaInteropApi" ,
33+ " -Xexpect-actual-classes" ,
34+ )
2935 }
3036}
3137
You can’t perform that action at this time.
0 commit comments