# SPDX-License-Identifier: GPL-3.0-or-later
# Deterministic line endings across contributor platforms.

# Default: normalize to LF in the repo.
* text=auto eol=lf

# The Gradle wrapper POSIX script MUST stay LF (runs on the Linux CI runner).
gradlew text eol=lf

# Windows batch files must be CRLF.
*.bat text eol=crlf

# Binary assets — never touch line endings.
*.jar binary
*.keystore binary
*.jks binary
*.png binary
*.webp binary
*.ico binary
# Bundled type families (res/font). `text=auto` already detects these as binary,
# but a font is too easy to corrupt silently to leave to a heuristic.
*.ttf binary
