Open
Description
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:
- editorconfigCheck fails if files are not properly formatted
- editorconfigFormat formats files
Metadata
Assignees
Labels
No labels