Normalize line endings and drop VCS info from release APKs

.gitattributes stores and checks out all text files with LF, so a
Windows clone no longer turns assets/openings/*.tsv into CRLF and
release APKs built on Windows match F-Droid's Linux build. Batch
files keep CRLF so gradlew.bat still runs under cmd.

vcsInfo.include = false stops AGP from writing the git revision
into META-INF, so builds from a zip and from a git clone match.
Takes effect from the next release; v1.0.43 is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K8GS1YNyjzkkhpGz368nGD
This commit is contained in:
2026-10-10 14:04:04 +00:00
co-authored by Claude Opus 5.5
parent f8d63140e4
commit 1b7550061d
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
* text=auto eol=lf
*.bat text eol=crlf
*.jar binary
*.png binary
*.webp binary
*.ogg binary
*.jks binary
+2
View File
@@ -25,6 +25,8 @@ android {
getDefaultProguardFile("proguard-android-optimize.txt"), getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro" "proguard-rules.pro"
) )
// Keeps release builds reproducible (F-Droid).
vcsInfo.include = false
} }
} }