Skip to content

Commit d143e3c

Browse files
authored
Merge pull request #27 from serjsysoev/wasm
Add wasm support
2 parents 4c3929e + 165d8d3 commit d143e3c

File tree

4 files changed

+9
-46
lines changed

4 files changed

+9
-46
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,3 @@ jobs:
2424
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
2525
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
2626
run: ./gradlew build publish
27-
28-
publish-mips:
29-
needs: publish
30-
runs-on: ubuntu-latest
31-
32-
steps:
33-
- uses: actions/checkout@v3
34-
- uses: actions/setup-java@v3
35-
with:
36-
distribution: 'zulu'
37-
java-version: 19
38-
- name: Build and publish mips artifacts
39-
env:
40-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
41-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
42-
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
43-
run: ./gradlew publishMips

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
kotlin = "1.8.0"
2+
kotlin = "1.9.22"
33

44
[plugins]
55
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }

kotlin-codepoints-deluxe/build.gradle.kts

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ kotlin {
99
androidNativeX86()
1010
androidNativeX64()
1111

12-
iosArm32()
1312
iosArm64()
1413
iosX64()
1514
iosSimulatorArm64()
@@ -24,28 +23,26 @@ kotlin {
2423
}
2524
}
2625

27-
linuxArm32Hfp()
2826
linuxArm64()
29-
linuxMips32()
30-
linuxMipsel32()
3127
linuxX64()
3228

3329
macosX64()
3430
macosArm64()
3531

3632
mingwX64()
37-
mingwX86()
3833

3934
tvosArm64()
4035
tvosX64()
4136
tvosSimulatorArm64()
4237

43-
wasm32()
38+
@Suppress("OPT_IN_USAGE")
39+
wasmJs()
40+
@Suppress("OPT_IN_USAGE")
41+
wasmWasi()
4442

4543
watchosArm32()
4644
watchosArm64()
4745
watchosDeviceArm64()
48-
watchosX86()
4946
watchosX64()
5047
watchosSimulatorArm64()
5148

@@ -70,10 +67,3 @@ mavenPublishing {
7067
description.set("Kotlin Multiplatform (KMP) library that adds a nicer API than kotlin-codepoint for dealing with Unicode code points.")
7168
}
7269
}
73-
74-
tasks.create("publishMips") {
75-
dependsOn(
76-
"publishLinuxMips32PublicationToMavenCentralRepository",
77-
"publishLinuxMipsel32PublicationToMavenCentralRepository"
78-
)
79-
}

kotlin-codepoints/build.gradle.kts

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ kotlin {
1111
androidNativeX86()
1212
androidNativeX64()
1313

14-
iosArm32()
1514
iosArm64()
1615
iosX64()
1716
iosSimulatorArm64()
@@ -26,28 +25,26 @@ kotlin {
2625
}
2726
}
2827

29-
linuxArm32Hfp()
3028
linuxArm64()
31-
linuxMips32()
32-
linuxMipsel32()
3329
linuxX64()
3430

3531
macosX64()
3632
macosArm64()
3733

3834
mingwX64()
39-
mingwX86()
4035

4136
tvosArm64()
4237
tvosX64()
4338
tvosSimulatorArm64()
4439

45-
wasm32()
40+
@Suppress("OPT_IN_USAGE")
41+
wasmJs()
42+
@Suppress("OPT_IN_USAGE")
43+
wasmWasi()
4644

4745
watchosArm32()
4846
watchosArm64()
4947
watchosDeviceArm64()
50-
watchosX86()
5148
watchosX64()
5249
watchosSimulatorArm64()
5350

@@ -78,10 +75,3 @@ mavenPublishing {
7875
description.set("Kotlin Multiplatform (KMP) library that adds basic support for Unicode code points.")
7976
}
8077
}
81-
82-
tasks.create("publishMips") {
83-
dependsOn(
84-
"publishLinuxMips32PublicationToMavenCentralRepository",
85-
"publishLinuxMipsel32PublicationToMavenCentralRepository"
86-
)
87-
}

0 commit comments

Comments
 (0)