You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the maintainer Li Haoyi: I'm putting a 500USD bounty on this issue, payable by bank transfer on a merged PR implementing this.
Spotless is used by many of our third-party example builds: Gatling, Mockito, and now Arrow-Kt. We should have official support in Mill for a SpotlessModule to allow usage of Spotless in JavaModule, ScalaModule, and KotlinModule
Should be similar in style of PalantirFormatModule, ScalafmtModule, ErrorProneModule, etc.
The text was updated successfully, but these errors were encountered:
I've actually been working on this task for a bit and I've been able to get most of it working locally.
It's clear the effort is much more than the examples PalantirFormatModule, ScalafmtModule, ErrorProneModule you want it to be styled after. Good thing is that you acknowledged as much in this thread.
For instance, the code inside the main spotless.jardoes not expose a main class that can be invoked from a separate sub-process. They expect anyone trying to integrate it with a new build tool to create all that plumbing, by looking at how it was done for maven or gradle.
This meant that I first had to build such a main class as a standalone Java project so I could create a spotless based Java formatter. The same approach is used for Scala and Kotlin, which are also in scope of this ticket.
So I'm wondering if you are open to upping the bounty amount?
ayewo
linked a pull request
Feb 3, 2025
that will
close
this issue
From the maintainer Li Haoyi: I'm putting a 500USD bounty on this issue, payable by bank transfer on a merged PR implementing this.
Spotless is used by many of our third-party example builds: Gatling, Mockito, and now Arrow-Kt. We should have official support in Mill for a
SpotlessModule
to allow usage of Spotless inJavaModule
,ScalaModule
, andKotlinModule
Should be similar in style of
PalantirFormatModule
,ScalafmtModule
,ErrorProneModule
, etc.The text was updated successfully, but these errors were encountered: