Skip to content
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

Plugin does not work at all. #19

Open
rixy87 opened this issue Feb 3, 2022 · 4 comments
Open

Plugin does not work at all. #19

rixy87 opened this issue Feb 3, 2022 · 4 comments

Comments

@rixy87
Copy link

rixy87 commented Feb 3, 2022

Having:

# .editorconfig

root = true

[*]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
insert_final_newline = true
max_line_length = 120
trim_trailing_whitespace = true
// src/main/java/rixy/Rixy.java

package rixy;

public class Rixy {
public static void main(String[] args) {

}
}

I've got:

12:33:12: Executing 'editorconfigCheck'...

> Task :editorconfigCheck

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 177ms

and

12:34:13: Executing 'editorconfigFormat'...

> Task :editorconfigFormat

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 140ms
1 actionable task: 1 executed
12:34:13: Execution finished 'editorconfigFormat'.

Java file remains not formatted.

Expectations:

  1. editorconfigCheck fails if files are not properly formatted
  2. editorconfigFormat formats files
@omegaspard
Copy link

I have the same issue, it does nothing.

@heowc
Copy link

heowc commented Jan 19, 2023

+1

@vimkim
Copy link

vimkim commented Feb 1, 2024

I have tried it for a while and it's not working at all +1

@Johnlon
Copy link

Johnlon commented Mar 13, 2024

:(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants