# Implementing Multiplatform Kotlin library

DevFeed: [Implementing Multiplatform Kotlin library](<https://devfeed.tech/articles/implementing-multiplatform-kotlin-library-39208.md>)

Original publisher: [Read original article](<https://kt.academy/article/ak-kmp-library>)

Published: 2023-09-18T00:15:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin Multiplatform](<https://devfeed.tech/topics/kotlin-multiplatform.md>), [Library](<https://devfeed.tech/topics/library.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [gradle-plugin](<https://devfeed.tech/topics/gradle-plugin.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [gradle-plugin](<https://devfeed.tech/tags/gradle-plugin.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [library](<https://devfeed.tech/tags/library.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

## AI overview

This tutorial explains how to build and distribute a Kotlin library for multiple platforms using Kotlin Multiplatform. It covers placing platform-independent code in the common source set, configuring platform source sets and dependencies with the Kotlin Multiplatform Gradle plugin, and separating platform-specific file management when needed.

## Source excerpt

How in Kotlin we can use multiplatform capabilities to distribute the same code to multiple platforms.