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

Add Mill AnimalSniffer Plugin (500USD Bounty) #3889

Open
lihaoyi opened this issue Nov 2, 2024 · 1 comment
Open

Add Mill AnimalSniffer Plugin (500USD Bounty) #3889

lihaoyi opened this issue Nov 2, 2024 · 1 comment
Labels

Comments

@lihaoyi
Copy link
Member

lihaoyi commented Nov 2, 2024


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


AnimalSniffer is used by many of our third-party example builds: Netty, 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.

@lefou
Copy link
Member

lefou commented Nov 2, 2024

Is the AnimalSniffer plugin still relevant for Java 17+? I know it provided support to dedect use of too new API back in the days before javac had the --release option. I used it myself often in combination with retrolambda to write Java 8 lambdas but generate Java 5+ bytecode. But does it provide any value today? E.g. there is no org.codehaus.mojo.signature:java21 artifact on Maven central.

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