-
Notifications
You must be signed in to change notification settings - Fork 460
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
Support Google-Java-Formats own import order out of the box #1769
Comments
Implementing this is super duper easy, just do the inverse of this: 0183cc2 The only tricky part is the API, maybe: Happy to merge a PR for this. |
Released in |
I tried this out with the recently release version 6.21 of the gradle plugin. I get the following change in the import order when updating from 6.18.0 (which accidentally enabled gjfs own import order) to 6.21.0:
|
As mentioned in #1680 spotless v6.18.0 unintentionally switched to gjf's own import order handling which was introduced as default also into the corresponding intellij plugin.
With spotless v6.19.0 the import order was changed back to the previous behavior of spotless prior v6.18.
I would like to see a simple config API change to the
googleJavaFormat()
definition which disables spotless own import order and uses the order from gjf.The text was updated successfully, but these errors were encountered: