Skip to content
No description, website, or topics provided.
Branch: master
Clone or download

Latest commit

Latest commit 848c250 Nov 27, 2019


Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper Init commit Dec 6, 2019
src Init commit Dec 6, 2019
LICENSE Init commit Dec 6, 2019 Init commit Dec 6, 2019
build.gradle.kts Init commit Dec 6, 2019
gradlew Init commit Dec 6, 2019
settings.gradle.kts Init commit Dec 6, 2019

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:


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:

  • releaseFatFramework
  • publishToArtifactory
  • jvmTest
  • macosX64Test

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 😉.

You can’t perform that action at this time.