Skip to content

rhdunn/kotlin-multilpatform-template

Repository files navigation

kotlin-multiplatform-template

Maven Central License

A template project for Kotlin multiplatform projects

Note: This readme should be edited to describe your project, removing the text describing the content of this template.

Note: This project requires Gradle 8.0 or higher, as the buildSrc extensions make use of the Kotlin 1.8 APIs.

See Project Template for more information on the structure of this Kotlin multiplatform project template.


  1. Adding the Library as a Maven Dependency
  2. Supported Kotlin/Native Targets
  3. Documentation
    1. Building the Project with Gradle
  4. License

Adding the Library as a Maven Dependency

The kotlin-multiplatform-template binaries are available on Maven Central.

Maven:

<dependency>
    <groupId>io.github.rhdunn</groupId>
    <artifactId>kotlin-multiplatform-template</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle (Groovy DSL):

implementation 'io.github.rhdunn:kotlin-multiplatform-template:1.0.0'

Gradle (Kotlin DSL):

implementation("io.github.rhdunn:kotlin-multiplatform-template:1.0.0")

Supported Kotlin/Native Targets

Target [1] Family Tier [1] Status
android_arm32 Android 3 Build Only [2]
android_arm64 Android 3 Build Only [2]
android_x64 Android 3 Build Only [2]
android_x86 Android 3 Build Only [2]
ios_arm64 Mac iOS 2 Build Only [2]
ios_simulator_arm64 Mac iOS 1 Build and Test
ios_x64 Mac iOS 1 Build and Test
linux_arm64 Linux 2 Build Only [2]
linux_x64 Linux 1 (Host) Build and Test
macos_arm64 Mac OSX 1 (Host) Build and Test
macos_x64 Mac OSX 1 (Host) Build and Test
mingw_x64 MinGW 3 (Host) Build and Test
tvos_arm64 Mac TV OS 2 Build Only [2]
tvos_simulator_arm64 Mac TV OS 2 Build and Test
tvos_x64 Mac TV OS 2 Build and Test
watchos_arm32 Mac Watch OS 2 Build Only [2]
watchos_arm64 Mac Watch OS 2 Build Only [2]
watchos_device_arm64 Mac Watch OS 3 Build and Test
watchos_simulator_arm64 Mac Watch OS 2 Build and Test
watchos_x64 Mac Watch OS 2 Build and Test

[1] See https://kotlinlang.org/docs/native-target-support.html for the list of Kotlin/Native targets. The target column specifies the name used in the KonanTarget instances. The tier column is the level of support provided by JetBrains for the Kotlin/Native target.

[2] The tests for these targets are not supported by Kotlin/Native. A gradle nativeTest task is not available for this configuration.

Documentation

  1. API Documentation

Building the Project with Gradle

  1. Build Properties
  2. Environment Variables
  3. Signing Artifacts

License

Copyright (C) 2023 Reece H. Dunn

SPDX-License-Identifier: Apache-2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages