com-lihaoyi / mill

Mill is a fast JVM build tool that supports Java and Scala. 2-3x faster than Gradle and 5-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.04k stars 331 forks source link

Add Kotlin Web (Ktor & KotlinJS) examples (2000USD Bounty) #3611

Open lihaoyi opened 2 days ago

lihaoyi commented 2 days 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 ticket is to implement support for example/kotlinlib/web example tests for using Kotlin for web development, mirroring the example/javalib/web and example/scalalib/web, and support for KotlinJS in the spirit of scalajslib/. I would want the following example tests, broken down into smaller groups each with its own bounty:

650USD:

650USD:

700USD:

Each of these examples above has a corresponding javalib/scalalib equivalent, and it should generally follow the style of those equivalents (scope, testing, etc.) but translated to Kotlin (Java/Scala -> Kotlin, Scalajs -> Kotlinjs, Cask/SpringBoot -> KTor, etc.)

For now the Kotlin-JS logic should live in kotlinlib/ together with the rest of the kotlin-specific configuration.

c0d33ngr commented 14 hours ago

Let me try if I can do anyone

c0d33ngr commented 14 hours ago

Hello, I'm new here. How do I run the tests in the examples directory? mill testin where build.mill file is located output

build.sc file not found. Are you in a Mill project folder?
lihaoyi commented 7 hours ago

@c0d33ngr please see the readme.md at the root of the repo