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

feat: add KtlintModule object #3961

Closed myyk closed 1 week ago

myyk commented 1 week ago

Add functionality to be able to run:

./mill mill.kotlinlib.ktlint.KtlintModule/

The edits to add ktlint into the runtime deps, wasn't necessary to make it work, I was just following what was there for ktfmt. Should I keep that or remove it?

lihaoyi commented 1 week ago

Looks good to me, just need to run ./mill __.fix to autofix it and I'll merge it

lihaoyi commented 1 week ago

@myyk pushed a commit for the autofix, will merge if green