Skip to content

Apache Lucene open-source search software

LUCENE-9077: make git always keep .gradle files with LF EOLs.

Dawid Weissc7cac5749a76
diff --git a/.gitattributes b/.gitattributes
index edb1aef9999..c7c7b25d269 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,5 @@
# Ignore all differences in line endings for the lock file.
versions.lock text eol=lf
+
+# Gradle files are always in LF.
+*.gradle text eol=lf