Skip to content

Install

Add one dependency. Gradle resolves the platform variant.

kotlin
implementation("io.github.lumkit:sweeteditor-compose:0.1.3")

Host versions

The host must match this set (or a newer compatible pair):

PieceVersion
Compose Multiplatform1.12.0
Kotlin2.4.20
Android compileSdk37

targetSdk and minSdk can stay lower. minSdk for the library is 24.

Older Compose Gradle plugins ship an older Skiko that is missing Paragraph.nGetUnresolvedCodepointsCount. JS and Wasm crash at runtime.

What you get per platform

PlatformArtifactNative payload
Androidsweeteditor-compose-android (transitive …-android-jni)libsweeteditor.so + libsweeteditor_compose.so per ABI
Desktop JVMsweeteditor-compose-jvm/native/<os>-<arch>/ Core + compose JNI
iOSiosarm64 / iosSimulatorArm64cinterop statically links libsweeteditor.a
Webjs / wasm-jsC ABI module under Compose resources

You do not add an XCFramework, JNA, or extra native link flags.

Repositories

Maven Central. Snapshots (if you use a -SNAPSHOT version) go to the Central Portal snapshots repository.

Next

Hello World