Kotlin multi-platform support
See original GitHub issueThis question was already raised (here #5), but still, I am not able to use this library in the Multiplatform project. I think this is due to differences between the android library’s build.gradle and the multiplatform one. In the MP library you need to specify kotlin("multiplatform") plugin and divide code into source sets (for that specific library you will need only common source set). You can read more about [https://kotlinlang.org/docs/tutorials/mpp/multiplatform-library.html](Multiplatform Kotlin library) at kotlintlang.org
I’ve tested this library with MP “structure” and it seems to work, so if you are interested in supporting MP I can create PR for this and you will check out code.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:12 (10 by maintainers)
Top Results From Across the Web
Kotlin Multiplatform
The Kotlin Multiplatform technology is designed to simplify the development of cross-platform projects. It reduces time spent writing and maintaining the same ...
Read more >Kotlin Multiplatform for Cross-Platform Mobile Development
Kotlin Multiplatform Mobile is an SDK for iOS and Android app development. It offers all the combined benefits of creating cross-platform and native...
Read more >Get started with Kotlin Multiplatform Mobile
Kotlin Multiplatform Mobile (KMM) is an SDK designed to simplify the development of cross-platform mobile applications. You can share common ...
Read more >Get started with Kotlin Multiplatform
Support for multiplatform programming is one of Kotlin's key benefits. It reduces time spent writing and maintaining the same code for ...
Read more >FAQ | Kotlin
What platforms do you support? ... Kotlin Multiplatform Mobile support development for: ... The Kotlin Multiplatform technology also supports other ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi, thanks for raising this. Last time I tried I had trouble publishing to bintray with the MPP structure, however we’ve since moved to Maven Central - therefore it isn’t a blocker anymore as I’ve already achieved it in my
kotlin-inline-loggerlibrary.I’ll try and copy what I did in my other library and get it working with the MPP structure soon. Thanks.
I can try get this working ✋