Commit e2efd3f
committed
Fix: KMP dependency resolution for native and Wasm targets
- Removed custom 'blockingMain' and 'jsCommonMain' source sets that were breaking the default KMP hierarchy template.
- Relocated 'actual' implementations for 'doRunBlocking' from the custom source sets to the standard platform-specific source sets (jvmMain, nativeMain, jsMain, wasmJsMain).
These changes ensure that the library's modules correctly export their metadata, allowing them to be resolved properly in consuming KMP projects with a standard hierarchy.1 parent 38596ff commit e2efd3f
7 files changed
Lines changed: 33 additions & 55 deletions
File tree
- kstatemachine-coroutines
- src
- blockingMain/kotlin/ru/nsk/kstatemachine/statemachine
- jsMain/kotlin/ru/nsk/kstatemachine/coroutines
- jvmMain/kotlin/ru/nsk/kstatemachine/coroutines
- nativeMain/kotlin/ru/nsk/kstatemachine/coroutines
- wasmJsMain/kotlin/ru/nsk/kstatemachine/coroutines
- kstatemachine-serialization
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 48 | | |
62 | 49 | | |
Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 49 | | |
63 | 50 | | |
0 commit comments