KotlinMultiplatformTemplate
No description available
Install / Use
/learn @StefMa/KotlinMultiplatformTemplateREADME
A Kotlin Multiplatform template
This Kotlin Multiplatform can be used as a template to get started with MPP in your project.
This is basically the implementation part of my Medium posts:
Details
This Multiplatform project has two targets: JVM and iOS. To be concrete is has two iOS targets so that the generated Framework can be build on a simulator and on a real iOS device, a macos64 target to test the native implementation and a JVM target.
The produced artifacts (the JAR and the Framework) are intended to be published to a repository.
Therefore it exist a Gradle Plugin (actually three) inside the buildSrc/ which takes care of it.
The setup of the build.gradle.kts is pretty minimal.
As said above it defines only two targets with the "default" dependencies for building and testing the project.
Explore this project
You can checkout this repository and check how it feels for you. There are some Gradle tasks which are probably important for you:
releaseFatFrameworkpublishToArtifactoryjvmTestmacosX64Test
The publishToArtifactory task will "publish" the FatFramework and the JAR file to a fake Artifactory
which is available at build/artifactory afterwards.
Plans on this template
State today I'm not sure if and how I could improve this project while keeping the minimal implementations details for setting up a Kotlin Multiplatform project.
Also because this project is somehow "connected" to my Blog post.
But anyway lets see what the future brings 😉.
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
