New ktlint-gradle `10.0.0` release (slightly delay...
# ktlint
t
New ktlint-gradle
10.0.0
release (slightly delayed due to non-working Github action): https://github.com/JLLeitschuh/ktlint-gradle/blob/master/CHANGELOG.md#1000---20210209 Under-the-hood contains a lot of changes that opens a door to future improvements, but update should be easy. You should see runtime improvements in multimodule project from a clean state on running
ktlintCheck
(
ktlintFormat
) tasks, but slightly higher runtime in single module project (this should be addressed in the next release).
🎉 6
j
@tapchicoma put a boatload of work into this change. 👏 really glad to see it shipping!
c
Nice work. Just updated from 9.4.1 to 10. Ran ktlintFormat and now I'm getting a bunch of
Copy code
Exceeded max line length (100) (cannot be auto-corrected)
Is there anything I can do so that I don't have to manually satisfy that rule everywhere in my project?
t
@Colton Idle probably due to
0.40.0
default version. You could set it back to
0.39.0
c
I've seen a bunch of github issues revolving around line length. I suppose theres no reason to create another one. Still sucks that there's no automated way around it.