Giter Club home page Giter Club logo

kotlinmultiplatformtemplate's Introduction

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:

  • 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 ๐Ÿ˜‰.

kotlinmultiplatformtemplate's People

Contributors

stefma avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.