-
Notifications
You must be signed in to change notification settings - Fork 463
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
spotlessKotlinApply not fix automatically #1344
Comments
I believe this a ktlint limitation, not Spotless. See this comment about yellers vs solvers - there are some things that ktlint yells about but can't solve, this might be one of those. |
Thanks for your reply. I have a question about the function of automatic fix, is it implemented in spotless or the underlying tools? |
Both. |
My solution was simple, just removing * |
I suppose
spotlessApply
should fix the issues it found automatically. But actually it failed withjava.lang.AssertionError
as shown below. There are no source code files were changed. Do I misunderstood the usage of this plugin?Dependencies:
Here is my configuration in the project root
build.gradle
Log:
The text was updated successfully, but these errors were encountered: