Skip to content

Build your personal knowledge base with Trilium Notes

chore(mobile): pin Capacitor gradle scaffold to LF to stop CRLF churn

Elian Doran6c49f3b7b2a5
diff --git a/apps/mobile/android/.gitattributes b/apps/mobile/android/.gitattributes
new file mode 100644
index 0000000000..f8ad1e2d9f
--- /dev/null
+++ b/apps/mobile/android/.gitattributes
@@ -0,0 +1,5 @@
+# Capacitor-generated Gradle scaffold: regenerated on `cap sync` with LF endings.
+# Pin to LF so a Windows checkout (core.autocrlf=true) stops flipping them to CRLF
+# and showing perpetual no-op diffs. Marked generated to collapse them in reviews.
+capacitor.settings.gradle text eol=lf linguist-generated
+app/capacitor.build.gradle text eol=lf linguist-generated