kotlin-multiplatform
Installation
SKILL.md
Kotlin Multiplatform Skill
Build cross-platform applications with shared Kotlin code.
Topics Covered
Project Setup
kotlin {
androidTarget()
listOf(iosX64(), iosArm64(), iosSimulatorArm64()).forEach {
it.binaries.framework { baseName = "Shared"; isStatic = true }
}
sourceSets {
commonMain.dependencies {
implementation("io.ktor:ktor-client-core:2.3.8")
}
androidMain.dependencies { implementation("io.ktor:ktor-client-okhttp:2.3.8") }
iosMain.dependencies { implementation("io.ktor:ktor-client-darwin:2.3.8") }
Related skills
More from pluginagentmarketplace/custom-plugin-kotlin
kotlin-compose
Jetpack Compose - composables, state, effects, theming
57kotlin-android
Modern Android development - Jetpack, Compose, Architecture Components
55kotlin-testing
Kotlin testing - JUnit 5, MockK, Kotest, coroutine testing
33kotlin-ktor
Ktor framework - routing, authentication, WebSockets
28kotlin-di
Dependency Injection - Hilt, Koin, scopes, testing
23kotlin-fundamentals
Kotlin language fundamentals - syntax, null safety, data classes, extensions
22