Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin Multiplatform Support (2500USD Bounty) #3867

Open
4 tasks
lihaoyi opened this issue Oct 29, 2024 · 3 comments
Open
4 tasks

Kotlin Multiplatform Support (2500USD Bounty) #3867

lihaoyi opened this issue Oct 29, 2024 · 3 comments
Labels

Comments

@lihaoyi
Copy link
Member

lihaoyi commented Oct 29, 2024


From the maintainer Li Haoyi: I'm putting a 2000USD bounty on this issue, payable by bank transfer on a merged PR implementing this.


The goal of this bounty is to flesh out the missing parts of Kotlin-Multi-Platform support. Previous Kotlin support in Mill is mostly for the JVM (#3451) with some support for web and very basic Kotlin-JS use cases (#3611). The goal here is to flesh out the Kotlin-JS functionality, add support for Kotlin-Native, and improve the overall multi-platform support e.g. publishing and consuming KMP modules and writing KMP applications

  • Example for Kotlin/JS support of browser executables and test runner with selectors (500USD)

    • Currently we only support node executables
  • Example for Kotlin/Native support (1000USD)

    • This should be the equivalent of example/kotlinlib/basic/1-simple as well as example/scalalib/native/2-interop but written using Kotlin-Native.
  • Publishing Kotlin-Multi-Platform modules

    • Proper support for .module files such that they can be resolved by Gradle's kotlin-multi-platform integration (500USD)
  • Example of a hello-world Kotlin-Multi-Platform app that uses Jetpack-Compose-Multi-Platform to support Desktop/Android/Web (500USD)

    • This can be a relatively trivial Hello-World application, but it should work on all three platforms using the same Kotlin code

These milestones are open for discussion, and can be modified or additional milestones added if necessary

@c0d33ngr
Copy link
Contributor

c0d33ngr commented Nov 4, 2024

Hello @lihaoyi do you want item 2 to use just KotlinModule and the kotlin/native cli compiler or it's something much more than that

@lihaoyi
Copy link
Member Author

lihaoyi commented Nov 4, 2024

@c0d33ngr i expect we would need a KotlinNativeModule, since kotlin native would have its own flags and configuration. This would be similar to ScalaNativeModule

@c0d33ngr
Copy link
Contributor

c0d33ngr commented Nov 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants