com-lihaoyi / mill

Mill is a fast JVM build tool that supports Java and Scala. 2-4x faster than Gradle and 4-10x faster than Maven for common workflows, Mill aims to make your project’s build process performant, maintainable, and flexible
https://mill-build.org/
MIT License
2.22k stars 356 forks source link

Kotlin Multiplatform Support (2500USD Bounty) #3867

Open lihaoyi opened 3 weeks ago

lihaoyi commented 3 weeks ago

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 (https://github.com/com-lihaoyi/mill/issues/3451) with some support for web and very basic Kotlin-JS use cases (https://github.com/com-lihaoyi/mill/issues/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

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

c0d33ngr commented 2 weeks ago

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 commented 2 weeks ago

@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 commented 2 weeks ago

I suspected so. Thank for the reply

On Mon, Nov 4, 2024, 3:34 PM Li Haoyi @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/com-lihaoyi/mill/issues/3867#issuecomment-2454877065, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZKEA4TDOGGPNTF3C2BSV3LZ66AXXAVCNFSM6AAAAABQZ7PSVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUHA3TOMBWGU . You are receiving this because you were mentioned.Message ID: @.***>