git warned on the commit that gradlew.bat would be converted to LF, which would make it a batch file Windows cannot run reliably. A .gitattributes settles it: LF everywhere by default, CRLF for .bat, LF for gradlew and the shell scripts even on a Windows checkout. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
13 lines
308 B
Plaintext
13 lines
308 B
Plaintext
# Line endings: LF everywhere, except where a platform needs otherwise.
|
|
* text=auto
|
|
|
|
# The Windows half of the gradle wrapper is a batch file and stays CRLF.
|
|
*.bat text eol=crlf
|
|
|
|
# The unix half stays LF even on a Windows checkout.
|
|
gradlew text eol=lf
|
|
*.sh text eol=lf
|
|
|
|
# Binary, never touched.
|
|
*.jar binary
|