-
Notifications
You must be signed in to change notification settings - Fork 509
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
Cannot choose between the following variants of com.pinterest:ktlint:0.41.0: #1114
Comments
Please open a new issue in ktlint-gradle project. I think something wrong with your configuration. |
Since ktlint 0.41.0,
|
@ganadist thank you! How to achieve this with ktlint plugin? |
If you are using ktlint with gradle plugin, it can run well without any modifications. If you are using ktlint without gradle plugin, please follow https://github.com/pinterest/ktlint/pull/1120/files |
@ganadist unfortunately, root project |
It seems that you are using And you might fix with using I don't know the right solution for |
I think this was closed too early. I have my |
@dimsuz This was closed because I moved this issue to ktlint plugin repo since this issue is mainly related to the plugin itself. And it is expected to be fixed in the next release. |
But I don't use that plugin and still have this issue, that's what I've tried to say above. I use instructions from (without a plugin) section and they lead to the error. |
At 0.41.0 it's the same. |
Caught this on another project. As I've said above, I don't use it and I still experience this bug. |
I have upgraded ktlint from
0.40.0
to0.41.0
. However, I am getting error when I execute./gradlew ktlintCheck
. How do I fix this? Thank you.Steps to Reproduce
0.41.0
./gradlew ktlintCheck
Your Environment
The text was updated successfully, but these errors were encountered: