question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kotlin multi-platform support

See original GitHub issue

This 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:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

5reactions
michaelbullcommented, Apr 20, 2020

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-logger library.

I’ll try and copy what I did in my other library and get it working with the MPP structure soon. Thanks.

1reaction
Munzeycommented, Jun 5, 2020

I can try get this working ✋

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found