From 9f4f5c48e12ae5c3a29524ac67c8bea7df06d583 Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Tue, 20 Nov 2018 14:15:01 +0100 Subject: [PATCH] Preserve CRLF line endings in .bat files This is specifically for the gradlew.bat file generated by the `gradle wrapper` command. Typically, this file should never be edited, but just in case it is, this configuration will preserve its original CRLF line endings. --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 62fd567a45..a2908b2c61 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,6 +9,9 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true +[*.bat] +end_of_line = crlf + [build.gradle] continuation_indent_size = 4