@wuchuheng/setup
Version:
CLI tool to initialize project with common configuration files
16 lines (13 loc) • 521 B
Plain Text
# Set default behavior to automatically normalize line endings to LF
* text=auto eol=lf
# Explicitly force LF for specific source code and config files
*.{kt,kts,java,xml,json,md,js,jsx,ts,tsx,html,css,pro,properties,php} text eol=lf
# CRITICAL: The Gradle wrapper script MUST have LF line endings
# Otherwise, it will fail to execute on Unix/Linux/macOS CI/CD servers
gradlew text eol=lf
# Denote binary files so Git doesn't try to normalize them
*.png binary
*.jpg binary
*.jpeg binary
*.jar binary
*.keystore binary