Commit 538a959
committed
Build all possible targets
Previously only a single native target was built and it depended on the user's host machine OS
(0.1 in Maven Central only supprots `linux64`).
This enables all targets supported per https://kotlinlang.org/docs/multiplatform-dsl-reference.html#targets.
Unfortunately this requires deploying from two OSes: Mac OS and Linux.
- If you deploy from Mac OS every target is built except for `linuxMips32` and `linuxMipsel32`.
These can be published to Sonatype as part of a separate call to
./gradlew \
publishLinuxMips32PublicationToSonatypeRepository \
publishLinuxMipsel32PublicationToSonatypeRepository`
and then both repositories closed & released at once.
- If you deploy from Linux none of the Mac OS targets are built.
They can be published to Sonatype as part of a separate call to
./gradlew \
publishIosArm32PublicationToSonatypeRepository \
publishIosArm64PublicationToSonatypeRepository \
publishIosSimulatorArm64PublicationToSonatypeRepository \
publishIosX64PublicationToSonatypeRepository \
publishMacosArm64PublicationToSonatypeRepository \
publishMacosX64PublicationToSonatypeRepository \
publishTvosArm64PublicationToSonatypeRepository \
publishTvosSimulatorArm64PublicationToSonatypeRepository \
publishTvosX64PublicationToSonatypeRepository \
publishWatchosArm32PublicationToSonatypeRepository \
publishWatchosArm64PublicationToSonatypeRepository \
publishWatchosDeviceArm64PublicationToSonatypeRepository \
publishWatchosSimulatorArm64PublicationToSonatypeRepository \
publishWatchosX64PublicationToSonatypeRepository \
publishWatchosX86PublicationToSonatypeRepository
and then both repositories closed & released at once.1 parent 9c38fc9 commit 538a959
File tree
5 files changed
+46
-93
lines changed- src
- commonImplementation/kotlin
- nativeMain/kotlin
5 files changed
+46
-93
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
19 | 34 | | |
20 | 35 | | |
21 | 36 | | |
22 | 37 | | |
23 | | - | |
24 | 38 | | |
25 | 39 | | |
26 | 40 | | |
27 | 41 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
45 | 67 | | |
46 | 68 | | |
47 | 69 | | |
48 | 70 | | |
49 | 71 | | |
50 | 72 | | |
51 | 73 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 74 | + | |
| 75 | + | |
55 | 76 | | |
56 | 77 | | |
57 | | - | |
| 78 | + | |
58 | 79 | | |
59 | 80 | | |
60 | | - | |
| 81 | + | |
61 | 82 | | |
62 | | - | |
63 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
64 | 86 | | |
65 | | - | |
66 | 87 | | |
67 | 88 | | |
68 | 89 | | |
| |||
File renamed without changes.
File renamed without changes.
This file was deleted.
This file was deleted.
0 commit comments