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 {
23
23
compilations. create(" builtInExecutor" ) { associateWith(compilations. main) }
24
24
}
25
25
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()
30
32
31
33
sourceSets. configureEach {
32
34
languageSettings {
@@ -50,9 +52,7 @@ kotlin {
50
52
jsBuiltInExecutor. dependsOn(it)
51
53
}
52
54
53
- nativeMain {
54
- dependsOn(commonMain)
55
- }
55
+ nativeMain {}
56
56
}
57
57
}
58
58
@@ -121,6 +121,6 @@ benchmark {
121
121
jsBenchmarksExecutor = JsBenchmarksExecutor.BuiltIn
122
122
}
123
123
register(" wasmJs" )
124
- register(" native " )
124
+ register(" konan " )
125
125
}
126
126
}
You can’t perform that action at this time.
0 commit comments