File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
examples/kotlin-multiplatform Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,12 @@ kotlin {
2323 compilations. create(" builtInExecutor" ) { associateWith(compilations. main) }
2424 }
2525 wasm(' wasmJs' ) { d8() }
26- if (HostManager . host == KonanTarget . MACOS_X64 . INSTANCE ) macosX64(' native' )
27- if (HostManager . host == KonanTarget . MACOS_ARM64 . INSTANCE ) macosArm64(' native' )
28- if (HostManager . hostIsLinux) linuxX64(' native' )
29- if (HostManager . hostIsMingw) mingwX64(' native' )
26+ if (HostManager . host == KonanTarget . MACOS_X64 . INSTANCE ) macosX64(' konan' )
27+ if (HostManager . host == KonanTarget . MACOS_ARM64 . INSTANCE ) macosArm64(' konan' )
28+ if (HostManager . hostIsLinux) linuxX64(' konan' )
29+ if (HostManager . hostIsMingw) mingwX64(' konan' )
30+
31+ applyDefaultHierarchyTemplate()
3032
3133 sourceSets. configureEach {
3234 languageSettings {
@@ -50,9 +52,7 @@ kotlin {
5052 jsBuiltInExecutor. dependsOn(it)
5153 }
5254
53- nativeMain {
54- dependsOn(commonMain)
55- }
55+ nativeMain {}
5656 }
5757}
5858
@@ -121,6 +121,6 @@ benchmark {
121121 jsBenchmarksExecutor = JsBenchmarksExecutor.BuiltIn
122122 }
123123 register(" wasmJs" )
124- register(" native " )
124+ register(" konan " )
125125 }
126126}
You can’t perform that action at this time.
0 commit comments